- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SetEnvKeyReplacer (0.34 sec)
-
istioctl/cmd/root.go
viper.AutomaticEnv() viper.AllowEmptyEnv(true) // So we can say ISTIOCTL_CERT_DIR="" to suppress certs viper.SetConfigName(configName) viper.SetConfigType(configType) viper.AddConfigPath(configPath) viper.SetEnvKeyReplacer(strings.NewReplacer("-", "_")) err := viper.ReadInConfig() // Ignore errors reading the configuration unless the file is explicitly customized if root.IstioConfig != defaultIstioctlConfig { return err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Aug 05 02:08:47 UTC 2024 - 9.6K bytes - Viewed (0)