Commit 47da7657 authored by antirez's avatar antirez
Browse files

redis-trib: fix conditional otherwise always true.

parent a89d435d
...@@ -299,7 +299,7 @@ class RedisTrib ...@@ -299,7 +299,7 @@ class RedisTrib
end end
} }
open_slots.uniq! open_slots.uniq!
if open_slots.length if open_slots.length > 0
puts "[WARNING] The following slots are open: #{open_slots.join(",")}" puts "[WARNING] The following slots are open: #{open_slots.join(",")}"
end end
if @fix if @fix
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment