Merge pull request #5348 from gkorland/patch-2

No need to return "OK"
This commit is contained in:
Salvatore Sanfilippo 2018-09-17 15:42:50 +02:00 committed by GitHub
commit 54871412c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 */