From 62015d4fb0805f350906b088a0c1036f8c5120cb Mon Sep 17 00:00:00 2001 From: Guy Korland Date: Thu, 13 Sep 2018 15:42:17 +0300 Subject: No need to return "OK" No need to return "+OK" in this case since the result is an Array of all the nodes --- src/modules/hellocluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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 */ -- cgit v1.2.1