fix: remove redundant error log print

Kubernetes-commit: 45ed5ba9939c581d0633772ea3177780fae95db0
This commit is contained in:
qmloong 2022-09-26 14:52:25 +08:00 committed by Kubernetes Publisher
parent 791da2a796
commit a32e26b98a
1 changed files with 0 additions and 1 deletions

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