Browse Source

agent: initialize local consul service tags to fix service sync

pull/409/head
Ryan Uber 10 years ago
parent
commit
2319460904
  1. 1
      command/agent/agent.go

1
command/agent/agent.go

@ -120,6 +120,7 @@ func Create(config *Config, logOutput io.Writer) (*Agent, error) {
Service: consul.ConsulServiceName,
ID: consul.ConsulServiceID,
Port: agent.config.Ports.Server,
Tags: []string{},
}
agent.state.AddService(&consulService)
} else {

Loading…
Cancel
Save