Commit efa51f16 authored by artix's avatar artix
Browse files

Cluster Manager: added clusterManagerCheckCluster to import command

parent 1f548359
...@@ -4698,6 +4698,7 @@ static int clusterManagerCommandImport(int argc, char **argv) { ...@@ -4698,6 +4698,7 @@ static int clusterManagerCommandImport(int argc, char **argv) {
clusterManagerNode *refnode = clusterManagerNewNode(ip, port); clusterManagerNode *refnode = clusterManagerNewNode(ip, port);
if (!clusterManagerLoadInfoFromNode(refnode, 0)) return 0; if (!clusterManagerLoadInfoFromNode(refnode, 0)) return 0;
if (!clusterManagerCheckCluster(0)) return 0;
char *reply_err = NULL; char *reply_err = NULL;
redisReply *src_reply = NULL; redisReply *src_reply = NULL;
// Connect to the source node. // Connect to the source node.
......
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