Merge pull request #80882 from ravisantoshgudimetla/add-logging

Don't supress the node update error while logging
This commit is contained in:
Kubernetes Prow Robot 2019-08-02 12:40:22 -07:00 committed by GitHub
commit cd04b13a1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2105,7 +2105,7 @@ func AddOrUpdateAvoidPodOnNode(c clientset.Interface, nodeName string, avoidPods
if !apierrs.IsConflict(err) {
ExpectNoError(err)
} 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