We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a138ff8 commit 26d0a39Copy full SHA for 26d0a39
1 file changed
internal/config/config.go
@@ -81,8 +81,8 @@ func ValidateConfig(configPath string) error {
81
82
// initViper sets up the viper instance with defaults, config file and environment variable support.
83
// configPath is the path to the YAML config file (e.g. "config.yaml").
84
-// Environment variables are mapped with the prefix "CERTSTREAM" and "__" as key delimiter.
85
-// Example: CERTSTREAM_WEBSERVER__LISTEN_PORT overrides webserver.listen_port.
+// Environment variables are mapped with the prefix "CERTSTREAM" and "_" as key delimiter.
+// Example: CERTSTREAM_WEBSERVER_LISTEN_PORT overrides webserver.listen_port.
86
func initViper(configPath string) *viper.Viper {
87
v := viper.NewWithOptions(viper.KeyDelimiter("."))
88
0 commit comments