mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
No need to return "OK"
No need to return "+OK" in this case since the result is an Array of all the nodes
This commit is contained in:
parent
d23cae5f06
commit
62015d4fb0
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user