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
3107e7ca
Commit
3107e7ca
authored
Feb 10, 2014
by
antirez
Browse files
Cluster: remove debugging xputs from redis-trib.
parent
1ae50a9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-trib.rb
View file @
3107e7ca
...
@@ -116,7 +116,6 @@ class ClusterNode
...
@@ -116,7 +116,6 @@ class ClusterNode
def
load_info
(
o
=
{})
def
load_info
(
o
=
{})
self
.
connect
self
.
connect
nodes
=
@r
.
cluster
(
"nodes"
).
split
(
"
\n
"
)
nodes
=
@r
.
cluster
(
"nodes"
).
split
(
"
\n
"
)
puts
@r
.
cluster
(
"nodes"
)
nodes
.
each
{
|
n
|
nodes
.
each
{
|
n
|
# name addr flags role ping_sent ping_recv link_status slots
# name addr flags role ping_sent ping_recv link_status slots
split
=
n
.
split
split
=
n
.
split
...
...
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