Skip to content

Commit ebf9f23

Browse files
author
DvirDukhan
committed
AI.CONFIG should be keyless command
1 parent bff3942 commit ebf9f23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/redisai.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,8 +1420,8 @@ int RedisModule_OnLoad(RedisModuleCtx *ctx, RedisModuleString **argv, int argc)
14201420
REDISMODULE_ERR)
14211421
return REDISMODULE_ERR;
14221422

1423-
if (RedisModule_CreateCommand(ctx, "ai.config", RedisAI_Config_RedisCommand, "write", 1, 1,
1424-
1) == REDISMODULE_ERR)
1423+
if (RedisModule_CreateCommand(ctx, "ai.config", RedisAI_Config_RedisCommand, "write", 0, 0,
1424+
0) == REDISMODULE_ERR)
14251425
return REDISMODULE_ERR;
14261426

14271427
if (RedisModule_CreateCommand(ctx, "ai.dagrun", RedisAI_DagRun_RedisCommand,

0 commit comments

Comments
 (0)