fix mismatch argument

This commit is contained in:
Leon Chen 2017-07-18 02:28:24 -05:00 committed by antirez
parent 07631ff18e
commit dc782ceb83

View File

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