mirror of
https://github.com/fluencelabs/redis
synced 2025-03-28 05:11:03 +00:00
Cluster Manager: code cleanup
This commit is contained in:
parent
6e9864fe0d
commit
2593fb9c0c
@ -3889,10 +3889,8 @@ static list *clusterManagerGetDisconnectedLinks(clusterManagerNode *node) {
|
||||
i++;
|
||||
}
|
||||
if (i == 7) link_status = line;
|
||||
|
||||
if (nodename == NULL || addr == NULL || flags == NULL ||
|
||||
link_status == NULL)
|
||||
continue;
|
||||
link_status == NULL) continue;
|
||||
if (strstr(flags, "myself") != NULL) continue;
|
||||
int disconnected = ((strstr(flags, "disconnected") != NULL) ||
|
||||
(strstr(link_status, "disconnected")));
|
||||
|
Loading…
x
Reference in New Issue
Block a user