mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
redis-trib: fixed type has_flags? -> has_flag.
This commit is contained in:
parent
4dded0c187
commit
77bba91b48
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user