Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions internal/pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@ func InitConfig() {
cobra.CheckErr(err)
setConfigDefaults()

err = viper.WriteConfigAs(configFilePath)
cobra.CheckErr(err)

// Needs to be done after WriteConfigAs, otherwise it would write
// the environment variables to the config file
viper.AutomaticEnv()
viper.SetEnvPrefix("stackit")
}
Expand Down