From 016f963e7edd9f6c151fca4c6b2d6452b11e1fc5 Mon Sep 17 00:00:00 2001 From: Kyle Havlovitz Date: Fri, 22 Jul 2022 17:29:38 -0700 Subject: [PATCH] Remove excess debug log from ingress upstream shutdown --- agent/proxycfg/ingress_gateway.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/agent/proxycfg/ingress_gateway.go b/agent/proxycfg/ingress_gateway.go index 3889bdba87..8282298649 100644 --- a/agent/proxycfg/ingress_gateway.go +++ b/agent/proxycfg/ingress_gateway.go @@ -149,10 +149,6 @@ func (s *handlerIngressGateway) handleUpdate(ctx context.Context, u UpdateEvent, for uid, cancelFn := range snap.IngressGateway.WatchedDiscoveryChains { if _, ok := watchedSvcs[uid]; !ok { for targetID, cancelUpstreamFn := range snap.IngressGateway.WatchedUpstreams[uid] { - s.logger.Debug("stopping watch of target", - "upstream", uid, - "target", targetID, - ) delete(snap.IngressGateway.WatchedUpstreams[uid], targetID) delete(snap.IngressGateway.WatchedUpstreamEndpoints[uid], targetID) cancelUpstreamFn()