mirror of https://github.com/hashicorp/consul
agent: initialize local consul service tags to fix service sync
parent
e4dc15b9e3
commit
2319460904
|
@ -120,6 +120,7 @@ func Create(config *Config, logOutput io.Writer) (*Agent, error) {
|
||||||
Service: consul.ConsulServiceName,
|
Service: consul.ConsulServiceName,
|
||||||
ID: consul.ConsulServiceID,
|
ID: consul.ConsulServiceID,
|
||||||
Port: agent.config.Ports.Server,
|
Port: agent.config.Ports.Server,
|
||||||
|
Tags: []string{},
|
||||||
}
|
}
|
||||||
agent.state.AddService(&consulService)
|
agent.state.AddService(&consulService)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue