"docs/en/vscode:/vscode.git/clone" did not exist on "d906538edb9dbf4c453fa58aa252a2ea4cc750b9"
Commit c9388ecc authored by antirez's avatar antirez
Browse files

RESP3: fix HELLO map len in Sentinel mode.

See #6160.
parent 503a5a24
......@@ -2444,7 +2444,7 @@ void helloCommand(client *c) {
/* Let's switch to the specified RESP mode. */
c->resp = ver;
addReplyMapLen(c,7);
addReplyMapLen(c,6 + !server.sentinel_mode);
addReplyBulkCString(c,"server");
addReplyBulkCString(c,"redis");
......
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