Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
cbcffed9
Commit
cbcffed9
authored
Feb 02, 2016
by
antirez
Browse files
Cluster: redis-trib: support @busport format in ClusterNode.
parent
b841f3ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-trib.rb
View file @
cbcffed9
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment