redis-trib: fix conditional otherwise always true.

This commit is contained in:
antirez 2013-03-21 17:22:14 +01:00
parent 4ad1f69d2a
commit 3a6c3eaf51

View File

@ -299,7 +299,7 @@ class RedisTrib
end
}
open_slots.uniq!
if open_slots.length
if open_slots.length > 0
puts "[WARNING] The following slots are open: #{open_slots.join(",")}"
end
if @fix