mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05:00
Fix HELLO reply in Sentinel mode, see #6160.
This commit is contained in:
parent
552b36e657
commit
7f794a122f
@ -2460,7 +2460,7 @@ void helloCommand(client *c) {
|
|||||||
|
|
||||||
addReplyBulkCString(c,"mode");
|
addReplyBulkCString(c,"mode");
|
||||||
if (server.sentinel_mode) addReplyBulkCString(c,"sentinel");
|
if (server.sentinel_mode) addReplyBulkCString(c,"sentinel");
|
||||||
if (server.cluster_enabled) addReplyBulkCString(c,"cluster");
|
else if (server.cluster_enabled) addReplyBulkCString(c,"cluster");
|
||||||
else addReplyBulkCString(c,"standalone");
|
else addReplyBulkCString(c,"standalone");
|
||||||
|
|
||||||
if (!server.sentinel_mode) {
|
if (!server.sentinel_mode) {
|
||||||
|
Loading…
Reference in New Issue
Block a user