Skip to content

Commit 3501f7c

Browse files
committed
Regularize the name of the post-start-hook that injects APF config objects
Name it analogously to its companion that launches the consumer of APF config objects.
1 parent 695cd49 commit 3501f7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/registry/flowcontrol/rest/storage_flowcontrol.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ var _ genericapiserver.PostStartHookProvider = RESTStorageProvider{}
4646
type RESTStorageProvider struct{}
4747

4848
// PostStartHookName is the name of the post-start-hook provided by flow-control storage
49-
const PostStartHookName = "apiserver/bootstrap-system-flowcontrol-configuration"
49+
const PostStartHookName = "priority-and-fairness-config-producer"
5050

5151
// NewRESTStorage creates a new rest storage for flow-control api models.
5252
func (p RESTStorageProvider) NewRESTStorage(apiResourceConfigSource serverstorage.APIResourceConfigSource, restOptionsGetter generic.RESTOptionsGetter) (genericapiserver.APIGroupInfo, bool, error) {

0 commit comments

Comments
 (0)