From 47ad6db1dcd4b86223b26f28746461fe67684f45 Mon Sep 17 00:00:00 2001 From: Mike Spreitzer Date: Fri, 17 Jan 2020 22:16:50 -0500 Subject: [PATCH] Fixup comments in internalbootstrap --- pkg/apis/flowcontrol/internalbootstrap/default-internal.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/apis/flowcontrol/internalbootstrap/default-internal.go b/pkg/apis/flowcontrol/internalbootstrap/default-internal.go index 0e3a3b449e7..dd7d6753b7a 100644 --- a/pkg/apis/flowcontrol/internalbootstrap/default-internal.go +++ b/pkg/apis/flowcontrol/internalbootstrap/default-internal.go @@ -31,13 +31,16 @@ import ( // reachable from this map. var MandatoryFlowSchemas = internalizeFSes(bootstrap.MandatoryFlowSchemas) -// MandatoryPriorityLevels holds the untyped renditions of the +// MandatoryPriorityLevelConfigurations holds the untyped renditions of the // mandatory priority level configuration objects. In this map the // key is the object's name and the value is the // `*PriorityLevelConfiguration`. Nobody should mutate anything // reachable from this map. var MandatoryPriorityLevelConfigurations = internalizePLs(bootstrap.MandatoryPriorityLevelConfigurations) +// NewAPFScheme constructs and returns a Scheme configured to handle +// the API object types that are used to configure API Priority and +// Fairness func NewAPFScheme() *runtime.Scheme { scheme := runtime.NewScheme() install.Install(scheme)