Cluster Manager: code cleanup
This commit is contained in:
parent
391caf8962
commit
48d7f54aae
@ -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