RESP3: Use verbatim in INFO output.
This commit is contained in:
parent
68519b7034
commit
aca5482fbf
@ -4391,7 +4391,9 @@ void infoCommand(client *c) {
|
||||
addReply(c,shared.syntaxerr);
|
||||
return;
|
||||
}
|
||||
addReplyBulkSds(c, genRedisInfoString(section));
|
||||
sds info = genRedisInfoString(section);
|
||||
addReplyVerbatim(c,info,sdslen(info),"txt");
|
||||
sdsfree(info);
|
||||
}
|
||||
|
||||
void monitorCommand(client *c) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user