fix wrong comment about cluster_announce_hostname (#10274)

This commit is contained in:
carlosfu 2022-03-17 11:26:30 +08:00 committed by GitHub
parent e8771efda9
commit b69636d377
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1849,7 +1849,7 @@ struct redisServer {
int cluster_slave_no_failover; /* Prevent slave from starting a failover
if the master is in failure state. */
char *cluster_announce_ip; /* IP address to announce on cluster bus. */
char *cluster_announce_hostname; /* IP address to announce on cluster bus. */
char *cluster_announce_hostname; /* hostname to announce on cluster bus. */
int cluster_preferred_endpoint_type; /* Use the announced hostname when available. */
int cluster_announce_port; /* base port to announce on cluster bus. */
int cluster_announce_tls_port; /* TLS port to announce on cluster bus. */