Merge pull request #112728 from qmloong/qmloong/redundant-log

fix: remove redundant error log print
This commit is contained in:
Kubernetes Prow Robot 2022-09-27 12:59:50 -07:00 committed by GitHub
commit 2a0842f7f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -457,7 +457,6 @@ func CheckRequest(quotas []corev1.ResourceQuota, a admission.Attributes, evaluat
match, err := evaluator.Matches(&resourceQuota, inputObject)
if err != nil {
klog.Errorf("Error occurred while matching resource quota, %v, against input object. Err: %v", resourceQuota, err)
klog.ErrorS(err, "Error occurred while matching resource quota against input object",
"resourceQuota", resourceQuota)
return quotas, err