提交 47da7657 编写于 作者: A antirez

redis-trib: fix conditional otherwise always true.

上级 a89d435d
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册