We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc5d176 commit adc9e06Copy full SHA for adc9e06
1 file changed
pkg/devspace/config/configutil/get.go
@@ -48,10 +48,12 @@ func ConfigExists() (bool, error) {
48
49
// InitConfig initializes the config objects
50
func InitConfig() *v1.Config {
51
- config = makeConfig()
52
- configRaw = makeConfig()
53
- overwriteConfig = makeConfig()
54
- overwriteConfigRaw = makeConfig()
+ getConfigOnce.Do(func() {
+ config = makeConfig()
+ configRaw = makeConfig()
+ overwriteConfig = makeConfig()
55
+ overwriteConfigRaw = makeConfig()
56
+ })
57
58
return config
59
}
0 commit comments