agent: initialize local consul service tags to fix service sync
This commit is contained in:
parent
c4951bb598
commit
0322bf2b7d
|
@ -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…
Reference in New Issue