Skip to content

Commit 2421322

Browse files
author
DvirDukhan
committed
scriptrun report keys should ignore $
1 parent c542d7e commit 2421322

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/redis_ai_objects/script.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ int RedisAI_ScriptRun_IsKeysPositionRequest_ReportKeys(RedisModuleCtx *ctx,
120120
if (!strcasecmp(str, "OUTPUTS")) {
121121
continue;
122122
}
123+
if (!strcasecmp(str, "$")) {
124+
continue;
125+
}
123126
RedisModule_KeyAtPos(ctx, argpos);
124127
}
125128
return REDISMODULE_OK;

0 commit comments

Comments
 (0)