redis-trib: don't crash loading node info for nodes without assigned slots
This commit is contained in:
parent
1bec2c3634
commit
f8a5bb158f
@ -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(":")
|
||||
|
Loading…
x
Reference in New Issue
Block a user