提交 cbcffed9 编写于 作者: A antirez

Cluster: redis-trib: support @busport format in ClusterNode.

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