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
62015d4f
Unverified
Commit
62015d4f
authored
Sep 13, 2018
by
Guy Korland
Committed by
GitHub
Sep 13, 2018
Browse files
No need to return "OK"
No need to return "+OK" in this case since the result is an Array of all the nodes
parent
d23cae5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/hellocluster.c
View file @
62015d4f
...
...
@@ -69,7 +69,7 @@ int ListCommand_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int
RedisModule_ReplyWithLongLong
(
ctx
,
port
);
}
RedisModule_FreeClusterNodesList
(
ids
);
return
R
edisModule_ReplyWithSimpleString
(
ctx
,
"OK"
)
;
return
R
EDISMODULE_OK
;
}
/* Callback for message MSGTYPE_PING */
...
...
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