Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
81ab5a3b
Commit
81ab5a3b
authored
Apr 10, 2018
by
artix
Browse files
Cluster Manager: added clusterManagerCheckCluster to import command
parent
eaaa3202
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
81ab5a3b
...
...
@@ -4698,6 +4698,7 @@ static int clusterManagerCommandImport(int argc, char **argv) {
clusterManagerNode *refnode = clusterManagerNewNode(ip, port);
if (!clusterManagerLoadInfoFromNode(refnode, 0)) return 0;
if (!clusterManagerCheckCluster(0)) return 0;
char *reply_err = NULL;
redisReply *src_reply = NULL;
// Connect to the source node.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment