Skip to content

Commit

Permalink
Merge pull request #91624 from hase1128/migrate-kubelet-infos
Browse files Browse the repository at this point in the history
Migrate klog to klog.InfoS in pkg/kubelet
  • Loading branch information
k8s-ci-robot authored Jun 4, 2020
2 parents ae2422a + e6c1935 commit 860837c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubelet/kubelet_getters.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.Phase)
p.Status = status
}
}
Expand Down

0 comments on commit 860837c

Please sign in to comment.