mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
redis-trib: fix conditional otherwise always true.
This commit is contained in:
parent
a89d435d8e
commit
47da76576e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user