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
5d8f25da
Commit
5d8f25da
authored
Sep 29, 2011
by
antirez
Browse files
redis-trib: don't crash loading node info for nodes without assigned slots
parent
3b5289a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-trib.rb
View file @
5d8f25da
...
...
@@ -94,7 +94,7 @@ class ClusterNode
else
self
.
add_slots
((
s
.
to_i
)
..
(
s
.
to_i
))
end
}
}
if
slots
@dirty
=
false
@r
.
cluster
(
"info"
).
split
(
"
\n
"
).
each
{
|
e
|
k
,
v
=
e
.
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