summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2018-09-17 15:42:50 +0200
committerGitHub <noreply@github.com>2018-09-17 15:42:50 +0200
commit54871412c29b799aa324fed2b0ae091e769737ad (patch)
tree45f671309b9b778195285008043c15c01004e6d5
parentf39bb4107cd22986b3d206f40c1fa0208401e41a (diff)
parent62015d4fb0805f350906b088a0c1036f8c5120cb (diff)
downloadredis-54871412c29b799aa324fed2b0ae091e769737ad.tar.gz
Merge pull request #5348 from gkorland/patch-2
No need to return "OK"
-rw-r--r--src/modules/hellocluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/hellocluster.c b/src/modules/hellocluster.c
index 75d18f3e2..da3964d04 100644
--- a/src/modules/hellocluster.c
+++ b/src/modules/hellocluster.c
@@ -69,7 +69,7 @@ int ListCommand_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int
RedisModule_ReplyWithLongLong(ctx,port);
}
RedisModule_FreeClusterNodesList(ids);
- return RedisModule_ReplyWithSimpleString(ctx, "OK");
+ return REDISMODULE_OK;
}
/* Callback for message MSGTYPE_PING */