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

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