diff --git a/pkg/apis/pipeline/v1/param_types.go b/pkg/apis/pipeline/v1/param_types.go index c5973544221..286ed06d807 100644 --- a/pkg/apis/pipeline/v1/param_types.go +++ b/pkg/apis/pipeline/v1/param_types.go @@ -146,7 +146,7 @@ func (ps ParamSpecs) ValidateNoDuplicateNames() *apis.FieldError { return errs } -// validateParamEnum validates feature flag, duplication and allowed types for Param Enum +// validateParamEnums validates feature flag, duplication and allowed types for Param Enum func (ps ParamSpecs) validateParamEnums(ctx context.Context) *apis.FieldError { var errs *apis.FieldError for _, p := range ps { diff --git a/pkg/apis/pipeline/v1beta1/param_types.go b/pkg/apis/pipeline/v1beta1/param_types.go index f0634f8c580..9844a84435c 100644 --- a/pkg/apis/pipeline/v1beta1/param_types.go +++ b/pkg/apis/pipeline/v1beta1/param_types.go @@ -137,7 +137,7 @@ func (ps ParamSpecs) validateNoDuplicateNames() *apis.FieldError { return errs } -// validateParamEnum validates feature flag, duplication and allowed types for Param Enum +// validateParamEnums validates feature flag, duplication and allowed types for Param Enum func (ps ParamSpecs) validateParamEnums(ctx context.Context) *apis.FieldError { var errs *apis.FieldError for _, p := range ps { diff --git a/test/featureflags.go b/test/featureflags.go index a6b6db071f6..be0944eb710 100644 --- a/test/featureflags.go +++ b/test/featureflags.go @@ -70,7 +70,7 @@ func requireAnyGate(gates map[string]string) func(context.Context, *testing.T, * } } -// requireAllgates returns a setup func that will skip the current +// requireAllGates returns a setup func that will skip the current // test if all of the feature-flags in the given map don't match // what's in the feature-flags ConfigMap. It will fatally fail // the test if it cannot get the feature-flag configmap.