mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
redis-trib: fix conditional otherwise always true.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user