Commit 68661171 authored by Huang Zhw's avatar Huang Zhw Committed by Oran Agra
Browse files

Fix missing separator in module info line (usedby and using lists) (#9241)



Fix module info genModulesInfoStringRenderModulesList lack separator when there's more than one module in the list.
Co-authored-by: default avatarOran Agra <oran@redislabs.com>
(cherry picked from commit 1895e134)
parent b6225371
......@@ -8701,8 +8701,9 @@ sds genModulesInfoStringRenderModulesList(list *l) {
while((ln = listNext(&li))) {
RedisModule *module = ln->value;
output = sdscat(output,module->name);
if (ln != listLast(l))
output = sdscat(output,"|");
}
output = sdstrim(output,"|");
output = sdscat(output,"]");
return output;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment