From 658b33808cb884c118fb982a956fb72ae3d04d1e Mon Sep 17 00:00:00 2001 From: YaoZengzeng Date: Mon, 29 Apr 2019 15:14:13 +0800 Subject: [PATCH] The workqueue of service should be `service` other than `ingress` Signed-off-by: YaoZengzeng --- discovery/kubernetes/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discovery/kubernetes/service.go b/discovery/kubernetes/service.go index c19708796..25471558c 100644 --- a/discovery/kubernetes/service.go +++ b/discovery/kubernetes/service.go @@ -43,7 +43,7 @@ func NewService(l log.Logger, inf cache.SharedInformer) *Service { if l == nil { l = log.NewNopLogger() } - s := &Service{logger: l, informer: inf, store: inf.GetStore(), queue: workqueue.NewNamed("ingress")} + s := &Service{logger: l, informer: inf, store: inf.GetStore(), queue: workqueue.NewNamed("service")} s.informer.AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: func(o interface{}) { eventCount.WithLabelValues("service", "add").Inc()