agent: initialize local consul service tags to fix service sync

pull/409/head
Ryan Uber 2014-10-17 14:29:12 -07:00
parent e4dc15b9e3
commit 2319460904
1 changed files with 1 additions and 0 deletions

View File

@ -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 {