Commit 8e12fae0 authored by antirez's avatar antirez
Browse files

Cluster: fixed inverted arguments in logging function call.

parent 6a015457
......@@ -833,8 +833,8 @@ void clearNodeFailureIfNeeded(clusterNode *node) {
if (nodeIsSlave(node) || node->numslots == 0) {
redisLog(REDIS_NOTICE,
"Clear FAIL state for node %.40s: %s is reachable again.",
nodeIsSlave(node) ? "slave" : "master without slots",
node->name);
node->name,
nodeIsSlave(node) ? "slave" : "master without slots");
node->flags &= ~REDIS_NODE_FAIL;
clusterDoBeforeSleep(CLUSTER_TODO_UPDATE_STATE|CLUSTER_TODO_SAVE_CONFIG);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment