Fix bad Træfik update on Consul Catalog
This commit is contained in:
parent
7ecd6d20ba
commit
48b4eb5c0d
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ func (p *CatalogProvider) watchCatalogServices(stopCh <-chan struct{}, watchCh c
|
||||||
func getServiceIds(services []*api.CatalogService) []string {
|
func getServiceIds(services []*api.CatalogService) []string {
|
||||||
var serviceIds []string
|
var serviceIds []string
|
||||||
for _, service := range services {
|
for _, service := range services {
|
||||||
serviceIds = append(serviceIds, service.ServiceID)
|
serviceIds = append(serviceIds, service.ID)
|
||||||
}
|
}
|
||||||
return serviceIds
|
return serviceIds
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue