refactor(facade): Refactor reply builder (#991)

Refactor RedisReplyBuilder to simplify method overloads
This commit is contained in:
Vladislav 2023-03-26 12:52:40 +03:00 committed by GitHub
parent ef4062d817
commit 72f67eddd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 144 additions and 203 deletions

View file

@ -71,7 +71,7 @@ void ScriptMgr::Run(CmdArgList args, ConnectionContext* cntx) {
" Prints latency histograms in usec for every called function.",
"HELP"
" Prints this help."};
return (*cntx)->SendSimpleStrArr(kHelp, ABSL_ARRAYSIZE(kHelp));
return (*cntx)->SendSimpleStrArr(kHelp);
}
if (subcmd == "EXISTS" && args.size() > 1)