diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2018-09-17 15:42:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-17 15:42:50 +0200 |
commit | 54871412c29b799aa324fed2b0ae091e769737ad (patch) | |
tree | 45f671309b9b778195285008043c15c01004e6d5 /src/modules | |
parent | f39bb4107cd22986b3d206f40c1fa0208401e41a (diff) | |
parent | 62015d4fb0805f350906b088a0c1036f8c5120cb (diff) | |
download | redis-54871412c29b799aa324fed2b0ae091e769737ad.tar.gz |
Merge pull request #5348 from gkorland/patch-2
No need to return "OK"
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/hellocluster.c | 2 |
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 */ |