Skip to content

Commit 5330bd7

Browse files
committed
dogged insistence on full verbosity
1 parent f1c26bf commit 5330bd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/apis/flowcontrol/internalbootstrap/default-internal.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var MandatoryFlowSchemas = internalizeFSes(bootstrap.MandatoryFlowSchemas)
3535
// key is the object's name and the value is the
3636
// `*PriorityLevelConfiguration`. Nobody should mutate anything
3737
// reachable from this map.
38-
var MandatoryPriorityLevels = internalizePLs(bootstrap.MandatoryPriorityLevelConfigurations)
38+
var MandatoryPriorityLevelConfigurations = internalizePLs(bootstrap.MandatoryPriorityLevelConfigurations)
3939

4040
func internalizeFSes(exts []*fcv1a1.FlowSchema) map[string]*flowcontrol.FlowSchema {
4141
ans := make(map[string]*flowcontrol.FlowSchema, len(exts))

pkg/apis/flowcontrol/validation/validation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ func ValidatePriorityLevelConfiguration(pl *flowcontrol.PriorityLevelConfigurati
341341
allErrs := apivalidation.ValidateObjectMeta(&pl.ObjectMeta, false, ValidatePriorityLevelConfigurationName, field.NewPath("metadata"))
342342
specPath := field.NewPath("spec")
343343
allErrs = append(allErrs, ValidatePriorityLevelConfigurationSpec(&pl.Spec, pl.Name, specPath)...)
344-
if mand, ok := internalbootstrap.MandatoryPriorityLevels[pl.Name]; ok {
344+
if mand, ok := internalbootstrap.MandatoryPriorityLevelConfigurations[pl.Name]; ok {
345345
// Check for almost exact equality. This is a pretty
346346
// strict test, and it is OK in this context because both
347347
// sides of this comparison are intended to ultimately

0 commit comments

Comments
 (0)