mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-02-21 22:57:15 +00:00
Merge pull request #136434 from thc1006/cherry-pick-136028-release-1.33
[release-1.33] fix(kubelet): convert V().Error() to V().Info() for verbosity-aware logging
This commit is contained in:
@@ -299,7 +299,7 @@ func (g *GenericPLEG) Relist() {
|
||||
status, updated, err := g.updateCache(ctx, pod, pid)
|
||||
if err != nil {
|
||||
// Rely on updateCache calling GetPodStatus to log the actual error.
|
||||
g.logger.V(4).Error(err, "PLEG: Ignoring events for pod", "pod", klog.KRef(pod.Namespace, pod.Name))
|
||||
g.logger.V(4).Info("PLEG: Ignoring events for pod", "pod", klog.KRef(pod.Namespace, pod.Name), "err", err)
|
||||
|
||||
// make sure we try to reinspect the pod during the next relisting
|
||||
needsReinspection[pid] = pod
|
||||
|
||||
Reference in New Issue
Block a user