From 7a40fd630dd85711d6156d9be6f5dd2c10509f20 Mon Sep 17 00:00:00 2001 From: jonathan keinan Date: Wed, 5 Feb 2025 10:13:50 +0200 Subject: [PATCH] * fix comments --- src/module.c | 2 +- tests/unit/moduleapi/moduleconfigs.tcl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/module.c b/src/module.c index eae07bb06..12c7788da 100644 --- a/src/module.c +++ b/src/module.c @@ -13287,7 +13287,7 @@ int RM_RegisterNumericConfig(RedisModuleCtx *ctx, const char *name, long long de * Only call this function if the module would like to make changes to the * configuration values before the actual values are applied by RedisModule_LoadConfigs. * Otherwise it's sufficient to call RedisModule_LoadConfigs, it should already set the default values if needed. - * This makes it possible to distinguish between default values and user provided values and apply other changes between setting the defaults and the user values.``` + * This makes it possible to distinguish between default values and user provided values and apply other changes between setting the defaults and the user values. * This will return REDISMODULE_ERR if it is called: * 1. outside RedisModule_OnLoad * 2. more than once diff --git a/tests/unit/moduleapi/moduleconfigs.tcl b/tests/unit/moduleapi/moduleconfigs.tcl index 67bd300c4..e366f61c9 100644 --- a/tests/unit/moduleapi/moduleconfigs.tcl +++ b/tests/unit/moduleapi/moduleconfigs.tcl @@ -350,7 +350,7 @@ start_server {tags {"modules"}} { CONFIG moduleconfigs.memory_numeric 2mb \ ARGS override-default - # Verify CONFIG values took precedence over the pseudo values that + # Verify CONFIG values took precedence over the values that override-default would have caused the module to set assert_equal [r config get moduleconfigs.string] "moduleconfigs.string goo" assert_equal [r config get moduleconfigs.memory_numeric] "moduleconfigs.memory_numeric 2097152"