mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
redis-trib: don't crash loading node info for nodes without assigned slots
This commit is contained in:
parent
3b5289a04c
commit
5d8f25da36
@ -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