diff --git a/plugin/pkg/admission/resourcequota/controller.go b/plugin/pkg/admission/resourcequota/controller.go index ae6807edd9f..fb4448bca42 100644 --- a/plugin/pkg/admission/resourcequota/controller.go +++ b/plugin/pkg/admission/resourcequota/controller.go @@ -43,7 +43,7 @@ import ( // Evaluator is used to see if quota constraints are satisfied. type Evaluator interface { // Evaluate takes an operation and checks to see if quota constraints are satisfied. It returns an error if they are not. - // The default implementation process related operations in chunks when possible. + // The default implementation processes related operations in chunks when possible. Evaluate(a admission.Attributes) error } @@ -618,7 +618,7 @@ func (e *quotaEvaluator) Evaluate(a admission.Attributes) error { select { case <-waiter.finished: case <-time.After(10 * time.Second): - return apierrors.NewInternalError(fmt.Errorf("resource quota evaluates timeout")) + return apierrors.NewInternalError(fmt.Errorf("resource quota evaluation timed out")) } return waiter.result