Commit 2cdf4cc6 authored by Leon Chen's avatar Leon Chen Committed by GitHub
Browse files

fix mismatch argument

parent b80e4670
...@@ -4194,7 +4194,7 @@ void clusterCommand(client *c) { ...@@ -4194,7 +4194,7 @@ void clusterCommand(client *c) {
} }
if ((n = clusterLookupNode(c->argv[4]->ptr)) == NULL) { if ((n = clusterLookupNode(c->argv[4]->ptr)) == NULL) {
addReplyErrorFormat(c,"I don't know about node %s", addReplyErrorFormat(c,"I don't know about node %s",
(char*)c->argv[3]->ptr); (char*)c->argv[4]->ptr);
return; return;
} }
server.cluster->importing_slots_from[slot] = n; server.cluster->importing_slots_from[slot] = n;
......
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