mirror of https://mirror.osredm.com/root/redis.git
Cluster: redis-trib: support @busport format in ClusterNode.
This commit is contained in:
parent
b841f3ad1a
commit
cbcffed907
|
@ -56,7 +56,7 @@ end
|
|||
|
||||
class ClusterNode
|
||||
def initialize(addr)
|
||||
s = addr.split(":")
|
||||
s = addr.split("@")[0].split(":")
|
||||
if s.length < 2
|
||||
puts "Invalid IP or Port (given as #{addr}) - use IP:Port format"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue