mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Migrate klog to klog.InfoS in pkg/kubelet
This commit is contained in:
parent
570cdb86b8
commit
573e5c6b2f
@ -170,7 +170,7 @@ func (kl *Kubelet) GetPods() []*v1.Pod {
|
||||
for _, p := range pods {
|
||||
if kubelettypes.IsStaticPod(p) {
|
||||
if status, ok := kl.statusManager.GetPodStatus(p.UID); ok {
|
||||
klog.V(2).Infof("status for pod %v updated to %v", p.Name, status)
|
||||
klog.V(2).InfoS("Pod status updated", "pod", klog.KObj(p), "status", status)
|
||||
p.Status = status
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user