Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#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
(Brien Dieterle) committed Sep 28, 2020
2 parents f34a24c + 8be386e commit 2e18e4e
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 2e18e4e

Please sign in to comment.