Commit 5d8f25da authored by antirez's avatar antirez
Browse files

redis-trib: don't crash loading node info for nodes without assigned slots

parent 3b5289a0
......@@ -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(":")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment