]> git.openstreetmap.org Git - chef.git/commitdiff
Fix rubocop warning.
authorMatt Amos <zerebubuth@gmail.com>
Wed, 7 Sep 2016 11:14:50 +0000 (12:14 +0100)
committerMatt Amos <zerebubuth@gmail.com>
Wed, 7 Sep 2016 11:14:50 +0000 (12:14 +0100)
cookbooks/planet/files/default/replication-bin/replicate-changesets

index b15351388f7f9ce0a4e1ef1be79111fd33b15e7a..e27651c5bd0f71bc69ddad2e43acfdef079e562c 100644 (file)
@@ -200,7 +200,7 @@ class Replicator
   end
 
   def sequence
-    sequence = (@state.key?("sequence") ? @state["sequence"] + 1 : 0)
+    @state.key?("sequence") ? @state["sequence"] + 1 : 0
   end
 
   def data_stem