From e592715cbb61308ed53211d17d1b467383ff7fdd Mon Sep 17 00:00:00 2001 From: Eric Zhang Date: Thu, 25 Apr 2024 14:28:53 -0400 Subject: [PATCH] fix: artifactsFlag --- pkg/apis/config/feature_flags.go | 4 ++-- pkg/apis/config/feature_flags_test.go | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/apis/config/feature_flags.go b/pkg/apis/config/feature_flags.go index f8c057801a0..66fdeb5c7ad 100644 --- a/pkg/apis/config/feature_flags.go +++ b/pkg/apis/config/feature_flags.go @@ -155,9 +155,9 @@ var ( Enabled: DefaultAlphaFeatureEnabled, } - // DefaultEnableArtifacts is the default PerFeatureFlag value for EnableStepActions + // DefaultEnableArtifacts is the default PerFeatureFlag value for EnableArtifacts DefaultEnableArtifacts = PerFeatureFlag{ - Name: EnableStepActions, + Name: EnableArtifacts, Stability: AlphaAPIFields, Enabled: DefaultAlphaFeatureEnabled, } diff --git a/pkg/apis/config/feature_flags_test.go b/pkg/apis/config/feature_flags_test.go index 0cefc572368..cded62e7d44 100644 --- a/pkg/apis/config/feature_flags_test.go +++ b/pkg/apis/config/feature_flags_test.go @@ -109,6 +109,7 @@ func TestNewFeatureFlagsFromConfigMap(t *testing.T) { EnableCELInWhenExpression: config.DefaultEnableCELInWhenExpression.Enabled, EnableStepActions: config.DefaultEnableStepActions.Enabled, EnableParamEnum: config.DefaultEnableParamEnum.Enabled, + EnableArtifacts: config.DefaultEnableArtifacts.Enabled, DisableInlineSpec: config.DefaultDisableInlineSpec, }, fileName: "feature-flags-enable-api-fields-overrides-bundles-and-custom-tasks",