diff --git a/components/node/files/conf/sentinel.conf.tpl b/components/node/files/conf/sentinel.conf.tpl index dacff21..a916769 100644 --- a/components/node/files/conf/sentinel.conf.tpl +++ b/components/node/files/conf/sentinel.conf.tpl @@ -42,7 +42,7 @@ sentinel current-epoch 0 {{- $ndeFQDN := printf "%s.%s" $ndeHostname $domain }} {{- $nodeID := sha1sum $ndeHostname }} {{- if (ne $fqdn $ndeFQDN) }} -sentinel {{ printf "known-sentinel {{ $master_nameĀ }} %s %s %s" $ndeFQDN $sentinel_port $nodeID }} -sentinel {{ printf "known-replica {{ $master_nameĀ }} %s %s" $ndeFQDN $port }} +sentinel {{ printf "known-sentinel {{ $master_name }} %s %s %s" $ndeFQDN $sentinel_port $nodeID }} +sentinel {{ printf "known-replica {{ $master_name }} %s %s" $ndeFQDN $port }} {{- end}} {{- end}} \ No newline at end of file