We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4144f6e commit 81b7594Copy full SHA for 81b7594
internal/pkg/config/config.go
@@ -87,11 +87,6 @@ func InitConfig() {
87
cobra.CheckErr(err)
88
setConfigDefaults()
89
90
- err = viper.WriteConfigAs(configFilePath)
91
- cobra.CheckErr(err)
92
-
93
- // Needs to be done after WriteConfigAs, otherwise it would write
94
- // the environment variables to the config file
95
viper.AutomaticEnv()
96
viper.SetEnvPrefix("stackit")
97
}
0 commit comments