We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53cf2c1 commit 0ead512Copy full SHA for 0ead512
agent/agent.go
@@ -190,7 +190,7 @@ func (a *Agent) clientConfig() (*uconf.ClientConfig, error) {
190
191
// Set up the HTTP advertise address
192
conf.Node.HTTPAddr = fmt.Sprintf("%s:%d", a.config.BindAddr, a.config.Ports.HTTP) //a.config.AdvertiseAddrs.HTTP
193
- conf.Node.NatsAddr = fmt.Sprintf("%s:%d", a.config.BindAddr, a.config.Ports.Nats)
+ conf.Node.NatsAddr = a.config.AdvertiseAddrs.Nats
194
195
conf.Version = a.config.Version
196
0 commit comments