Skip to content

Commit

Permalink
Merge pull request #411 from KohlsTechnology/klogv2
Browse files Browse the repository at this point in the history
Convert Last Log Message To Structured Logging
  • Loading branch information
k8s-ci-robot authored Sep 28, 2020
2 parents 5d65a9a + 6237ba5 commit 411ec74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/descheduler/strategies/lownodeutilization.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func getNodeUsage(
for _, node := range nodes {
pods, err := podutil.ListPodsOnANode(ctx, client, node)
if err != nil {
klog.Warningf("node %s will not be processed, error in accessing its pods (%#v)", node.Name, err)
klog.V(2).InfoS("Node will not be processed, error accessing its pods", "node", klog.KObj(node), "err", err)
continue
}

Expand Down

0 comments on commit 411ec74

Please sign in to comment.