From 48b4eb5c0d3694863a35c3121e2129c70b70f48d Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 15 Dec 2017 16:00:14 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20bad=20Tr=C3=A6fik=20update=20on=20Consul?= =?UTF-8?q?=20Catalog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- provider/consul/consul_catalog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/consul/consul_catalog.go b/provider/consul/consul_catalog.go index 8387e72fa..8f0510510 100644 --- a/provider/consul/consul_catalog.go +++ b/provider/consul/consul_catalog.go @@ -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 }