Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
2593fb9c
Commit
2593fb9c
authored
Jan 17, 2019
by
artix
Browse files
Cluster Manager: code cleanup
parent
6e9864fe
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
2593fb9c
...
...
@@ -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")));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment