diff --git a/cmd/cli/plugin/feature/activate.go b/cmd/cli/plugin/feature/activate.go index 3065e242744..6f2f4b44dbd 100644 --- a/cmd/cli/plugin/feature/activate.go +++ b/cmd/cli/plugin/feature/activate.go @@ -49,8 +49,6 @@ func featureActivate(cmd *cobra.Command, args []string) error { return fmt.Errorf("could not get Feature %s: %w", featureName, err) } - displayActivationWarnings(feature) - gates, err := fgClient.GetFeatureGateList(ctx) if err != nil { return fmt.Errorf("could not get FeatureGate List: %w", err) @@ -76,6 +74,8 @@ func featureActivate(cmd *cobra.Command, args []string) error { return fmt.Errorf("could not activate Feature %s gated by FeatureGate %s: %w", featureName, gateName, err) } + displayActivationWarnings(feature) + cmd.Printf("Feature %s gated by FeatureGate %s is activated.\n", featureName, gateName) return nil }