Merge pull request #99292 from yangjunmyfm192085/run-test23

replace all occurrences of "node", nodeName to "node", klog.KRef("", nodeName)
This commit is contained in:
Kubernetes Prow Robot
2022-03-17 12:22:42 -07:00
committed by GitHub
4 changed files with 5 additions and 5 deletions

View File

@@ -350,7 +350,7 @@ func (tc *NoExecuteTaintManager) processPodOnNode(
}
allTolerated, usedTolerations := v1helper.GetMatchingTolerations(taints, tolerations)
if !allTolerated {
klog.V(2).InfoS("Not all taints are tolerated after update for pod on node", "pod", podNamespacedName.String(), "node", nodeName)
klog.V(2).InfoS("Not all taints are tolerated after update for pod on node", "pod", podNamespacedName.String(), "node", klog.KRef("", nodeName))
// We're canceling scheduled work (if any), as we're going to delete the Pod right away.
tc.cancelWorkWithEvent(podNamespacedName)
tc.taintEvictionQueue.AddWork(ctx, NewWorkArgs(podNamespacedName.Name, podNamespacedName.Namespace), time.Now(), time.Now())