Skip to content

Commit

Permalink
fix(feature-flags)!: Now the Development ready apps is Stable
Browse files Browse the repository at this point in the history
Signed-off-by: Dipankar Das <65275144+dipankardas011@users.noreply.github.com>
dipankardas011 committed Feb 18, 2024

Verified

This commit was signed with the committer’s verified signature.
sagikazarmark Márk Sági-Kazár
1 parent 782873a commit a463535
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions cli/cmd/featureFlags.go
Original file line number Diff line number Diff line change
@@ -10,12 +10,11 @@ import (
)

const (
ksctl_feature_auto_scale consts.KsctlSpecialFlags = "autoscale"
ksctl_feature_applications consts.KsctlSpecialFlags = "application"
ksctl_feature_auto_scale consts.KsctlSpecialFlags = "autoscale"
)

func featureFlag(f *cobra.Command) {
f.Flags().StringP("feature-flags", "", "", `Experimental Features: Supported values with comma seperated: [autoscale,application]`)
f.Flags().StringP("feature-flags", "", "", `Experimental Features: Supported values with comma seperated: [autoscale]`)
// f.Flags().StringArrayP("feature-flags", "", nil, `Supported values: [autoscale]`)
}

@@ -34,11 +33,6 @@ func SetRequiredFeatureFlags(cmd *cobra.Command) {
if err := os.Setenv(string(consts.KsctlFeatureFlagHaAutoscale), "true"); err != nil {
log.Error("Unable to set the ha autoscale feature")
}

case ksctl_feature_applications:
if err := os.Setenv(string(consts.KsctlFeatureFlagApplications), "true"); err != nil {
log.Error("Unable to set applications feature")
}
}
}
}

0 comments on commit a463535

Please sign in to comment.