fix mismatch argument

This commit is contained in:
Leon Chen 2017-07-18 02:28:24 -05:00 committed by GitHub
parent b80e467023
commit 2cdf4cc656

View File

@ -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;