mirror of
https://github.com/containous/traefik.git
synced 2025-01-29 21:47:13 +03:00
Fix bad Træfik update on Consul Catalog
This commit is contained in:
parent
7ecd6d20ba
commit
48b4eb5c0d
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user