Skip to content

Commit

Permalink
chore: remove flag that disabled provider renames
Browse files Browse the repository at this point in the history
  • Loading branch information
pivotal-marcela-campo committed Nov 21, 2023
1 parent adf0312 commit 6060e78
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/featureflags/feature_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ const (
// IF YOU USE THIS, PLEASE RAISE AN ISSUE. Since the new way of running examples was added,
// the authors don't expect anyone to use the legacy method. Please let us know if you need
// the old way to stay around.
EnableLegacyExamplesCommands FeatureFlagName = "legacy.examples.enabled"
DisableTfUpgradeProviderRenames FeatureFlagName = "brokerpak.terraform.upgrades.providerRenames.disabled"
EnableLegacyExamplesCommands FeatureFlagName = "legacy.examples.enabled"
)

var AllFeatureFlagEnvVars []string
Expand All @@ -26,7 +25,6 @@ func init() {
DynamicHCLEnabled: "BROKERPAK_UPDATES_ENABLED", // deprecated pattern - future variables should start CSB_
DisableRequestPropertyValidation: "CSB_DISABLE_REQUEST_PROPERTY_VALIDATION",
EnableLegacyExamplesCommands: "CSB_ENABLE_LEGACY_EXAMPLES_COMMANDS",
DisableTfUpgradeProviderRenames: "CSB_DISABLE_TF_UPGRADE_PROVIDER_RENAMES",
} {
viper.BindEnv(string(ffName), varName)
viper.SetDefault(string(ffName), false)
Expand Down

0 comments on commit 6060e78

Please sign in to comment.