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
9a440ad4
Commit
9a440ad4
authored
Apr 13, 2011
by
antirez
Browse files
fixed a typo in redis-trib
parent
3883a381
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-trib.rb
View file @
9a440ad4
...
@@ -14,7 +14,7 @@ class ClusterNode
...
@@ -14,7 +14,7 @@ class ClusterNode
def
initialize
(
addr
)
def
initialize
(
addr
)
s
=
addr
.
split
(
":"
)
s
=
addr
.
split
(
":"
)
if
s
.
length
!=
2
if
s
.
length
!=
2
puts
"Invalid node name
#{
node
}
"
puts
"Invalid node name
#{
addr
}
"
exit
1
exit
1
end
end
@r
=
nil
@r
=
nil
...
...
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