mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #126900 from deveshgoyal1000/fix/typo-flowcontrol-request-width
Updated width.go
This commit is contained in:
commit
43ad87b85a
@ -83,7 +83,7 @@ func NewWorkEstimator(objectCountFn objectCountGetterFunc, watchCountFn watchCou
|
|||||||
|
|
||||||
// WorkEstimatorFunc returns the estimated work of a given request.
|
// WorkEstimatorFunc returns the estimated work of a given request.
|
||||||
// This function will be used by the Priority & Fairness filter to
|
// 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
|
type WorkEstimatorFunc func(request *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate
|
||||||
|
|
||||||
func (e WorkEstimatorFunc) EstimateWork(r *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate {
|
func (e WorkEstimatorFunc) EstimateWork(r *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate {
|
||||||
|
Loading…
Reference in New Issue
Block a user