Fix bad Træfik update on Consul Catalog

This commit is contained in:
Michael 2017-12-15 16:00:14 +01:00 committed by Traefiker
parent 7ecd6d20ba
commit 48b4eb5c0d

View file

@ -262,7 +262,7 @@ func (p *CatalogProvider) watchCatalogServices(stopCh <-chan struct{}, watchCh c
func getServiceIds(services []*api.CatalogService) []string {
var serviceIds []string
for _, service := range services {
serviceIds = append(serviceIds, service.ServiceID)
serviceIds = append(serviceIds, service.ID)
}
return serviceIds
}