Skip to content

Commit

Permalink
Use correct announce-port directive
Browse files Browse the repository at this point in the history
There is a typo in the sentinel configuration where the announce port is incorrectly being included as the announce IP.
  • Loading branch information
imnotjames authored and majormoses committed Mar 30, 2018
1 parent 438bb9f commit 6ac3dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/sentinel.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ port <%=@sentinel_port%>
#
# sentinel announce-ip 1.2.3.4
<%= "sentinel announce-ip #{@announce_ip}" unless @announce_ip.nil? %>
<%= "sentinel announce-ip #{@announce_port}" unless @announce_port.nil? %>
<%= "sentinel announce-port #{@announce_port}" unless @announce_port.nil? %>

# sentinel monitor <master-name> <ip> <redis-port> <quorum>
#
Expand Down

0 comments on commit 6ac3dba

Please sign in to comment.