summaryrefslogtreecommitdiff
path: root/src/redis-trib.rb
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2016-01-02 13:13:32 +0100
committerantirez <antirez@gmail.com>2016-01-02 13:13:32 +0100
commit190babe2df31556500bda417a93eb2d560009d08 (patch)
tree872b21a63d0ef41fd2995b337fc28b8d22a1d360 /src/redis-trib.rb
parentb1f84d41fbf7558137a1a4db08ce8b7673c86951 (diff)
downloadredis-190babe2df31556500bda417a93eb2d560009d08.tar.gz
redis-trib: Remove duplicated key in hash initialization.
Diffstat (limited to 'src/redis-trib.rb')
-rwxr-xr-xsrc/redis-trib.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis-trib.rb b/src/redis-trib.rb
index fb7f7f2c6..c03f651f9 100755
--- a/src/redis-trib.rb
+++ b/src/redis-trib.rb
@@ -1570,7 +1570,7 @@ ALLOWED_OPTIONS={
"add-node" => {"slave" => false, "master-id" => true},
"import" => {"from" => :required, "copy" => false, "replace" => false},
"reshard" => {"from" => true, "to" => true, "slots" => true, "yes" => false, "timeout" => true, "pipeline" => true},
- "rebalance" => {"weight" => [], "auto-weights" => false, "threshold" => RebalanceDefaultThreshold, "use-empty-masters" => false, "timeout" => true, "simulate" => false, "pipeline" => true, "threshold" => true},
+ "rebalance" => {"weight" => [], "auto-weights" => false, "use-empty-masters" => false, "timeout" => true, "simulate" => false, "pipeline" => true, "threshold" => true},
"fix" => {"timeout" => MigrateDefaultTimeout},
}