提交 77bba91b 编写于 作者: A antirez

redis-trib: fixed type has_flags? -> has_flag.

上级 4dded0c1
......@@ -603,7 +603,7 @@ class RedisTrib
sources << n
}
break
elsif !src || src.has_flags?("slave")
elsif !src || src.has_flag?("slave")
puts "The specified node is not known or is not a master, please retry."
elsif src.info[:name] == target.info[:name]
puts "It is not possible to use the target node as source node."
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册