From 4b440cf45da3fa6b12e19c4dadcd680ea35c284b Mon Sep 17 00:00:00 2001 From: maicon Date: Fri, 18 Jul 2025 11:03:42 -0300 Subject: [PATCH] Remove timeout info from logs when shadow request to search succeeds (#108324) Signed-off-by: Maicon Costa --- pkg/storage/unified/resource/search_client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/storage/unified/resource/search_client.go b/pkg/storage/unified/resource/search_client.go index 58d743da306..116b3aa5b92 100644 --- a/pkg/storage/unified/resource/search_client.go +++ b/pkg/storage/unified/resource/search_client.go @@ -76,7 +76,7 @@ func (s *searchWrapper) GetStats(ctx context.Context, in *resourcepb.ResourceSta if bgErr != nil { s.logger.Error("Background GetStats call to unified failed", "error", bgErr, "timeout", backgroundRequestTimeout) } else { - s.logger.Debug("Background GetStats call to unified succeeded", "timeout", backgroundRequestTimeout) + s.logger.Debug("Background GetStats call to unified succeeded") } }() } @@ -109,7 +109,7 @@ func (s *searchWrapper) Search(ctx context.Context, in *resourcepb.ResourceSearc if bgErr != nil { s.logger.Error("Background Search call to unified failed", "error", bgErr, "timeout", backgroundRequestTimeout) } else { - s.logger.Debug("Background Search call to unified succeeded", "timeout", backgroundRequestTimeout) + s.logger.Debug("Background Search call to unified succeeded") } }() }