From 24a2cc830f59e8d30c0355d4d3879d4480658706 Mon Sep 17 00:00:00 2001 From: Luca Antiga Date: Tue, 21 Jul 2020 14:07:37 +0200 Subject: [PATCH] Add getkeys-api to the DAGRUN command --- src/redisai.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redisai.c b/src/redisai.c index a43c4c4cf..191d8bf47 100644 --- a/src/redisai.c +++ b/src/redisai.c @@ -1125,7 +1125,7 @@ int RedisModule_OnLoad(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) == REDISMODULE_ERR) return REDISMODULE_ERR; - if (RedisModule_CreateCommand(ctx, "ai.dagrun", RedisAI_DagRun_RedisCommand, "write deny-oom", 3, 3, 1) + if (RedisModule_CreateCommand(ctx, "ai.dagrun", RedisAI_DagRun_RedisCommand, "write deny-oom getkeys-api", 3, 3, 1) == REDISMODULE_ERR) return REDISMODULE_ERR;