mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Don't supress the node update error while logging
This commit is contained in:
parent
c981c65c90
commit
2d8a021bb1
@ -2105,7 +2105,7 @@ func AddOrUpdateAvoidPodOnNode(c clientset.Interface, nodeName string, avoidPods
|
|||||||
if !apierrs.IsConflict(err) {
|
if !apierrs.IsConflict(err) {
|
||||||
ExpectNoError(err)
|
ExpectNoError(err)
|
||||||
} else {
|
} else {
|
||||||
e2elog.Logf("Conflict when trying to add/update avoidPonds %v to %v", avoidPods, nodeName)
|
e2elog.Logf("Conflict when trying to add/update avoidPods %v to %v with error %v", avoidPods, nodeName, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true, nil
|
return true, nil
|
||||||
|
Loading…
Reference in New Issue
Block a user