Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Commit ee298c8

Browse files
aramasekkmsft
authored andcommitted
reduce log verbosity for debug log (#433)
1 parent 664be45 commit ee298c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/nmi/server/server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ func (s *Server) listPodIDsWithRetry(ctx context.Context, kubeClient k8s.Client,
559559
err = ctx.Err()
560560
return nil, true, err
561561
}
562-
logger.Warningf("failed to get assigned ids for pod:%s/%s in ASSIGNED state, retrying attempt: %d", podns, podname, attempt)
562+
logger.Debugf("failed to get assigned ids for pod:%s/%s in ASSIGNED state, retrying attempt: %d", podns, podname, attempt)
563563
}
564564
return nil, true, fmt.Errorf("getting assigned identities for pod %s/%s in ASSIGNED state failed after %d attempts, retry duration [%d]s. Error: %v",
565565
podns, podname, s.ListPodIDsRetryAttemptsForCreated+s.ListPodIDsRetryAttemptsForAssigned, s.ListPodIDsRetryIntervalInSeconds, err)

0 commit comments

Comments
 (0)