mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
fix: remove redundant error log print
This commit is contained in:
parent
cac53883f4
commit
45ed5ba993
@ -457,7 +457,6 @@ func CheckRequest(quotas []corev1.ResourceQuota, a admission.Attributes, evaluat
|
|||||||
|
|
||||||
match, err := evaluator.Matches(&resourceQuota, inputObject)
|
match, err := evaluator.Matches(&resourceQuota, inputObject)
|
||||||
if err != nil {
|
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",
|
klog.ErrorS(err, "Error occurred while matching resource quota against input object",
|
||||||
"resourceQuota", resourceQuota)
|
"resourceQuota", resourceQuota)
|
||||||
return quotas, err
|
return quotas, err
|
||||||
|
Loading…
Reference in New Issue
Block a user