From ed0c2b4f3d33fe7f165ff2c39034ca062c75f964 Mon Sep 17 00:00:00 2001 From: Devesh Goyal <93080269+deveshgoyal1000@users.noreply.github.com> Date: Sun, 25 Aug 2024 02:12:29 +0530 Subject: [PATCH] Updated width.go --- .../src/k8s.io/apiserver/pkg/util/flowcontrol/request/width.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width.go b/staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width.go index 71837edba6b..43bc29ab835 100644 --- a/staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width.go +++ b/staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width.go @@ -83,7 +83,7 @@ func NewWorkEstimator(objectCountFn objectCountGetterFunc, watchCountFn watchCou // WorkEstimatorFunc returns the estimated work of a given request. // This function will be used by the Priority & Fairness filter to -// estimate the work of of incoming requests. +// estimate the work of incoming requests. type WorkEstimatorFunc func(request *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate func (e WorkEstimatorFunc) EstimateWork(r *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate {