Commit 77bba91b authored by antirez's avatar antirez
Browse files

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

parent 4dded0c1
...@@ -603,7 +603,7 @@ class RedisTrib ...@@ -603,7 +603,7 @@ class RedisTrib
sources << n sources << n
} }
break 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." puts "The specified node is not known or is not a master, please retry."
elsif src.info[:name] == target.info[:name] elsif src.info[:name] == target.info[:name]
puts "It is not possible to use the target node as source node." puts "It is not possible to use the target node as source node."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment