Skip to content

Commit

Permalink
fix incorrect parameter name when setting default value
Browse files Browse the repository at this point in the history
  • Loading branch information
mchrome committed Feb 5, 2024
1 parent 0cc1d52 commit 47511fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/carbonapi/config/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ func SetUpViper(logger *zap.Logger, configPath *string, exactConfig bool, viperP
viper.SetDefault("upstreams.keepAliveInterval", "30s")
viper.SetDefault("upstreams.maxIdleConnsPerHost", 100)
viper.SetDefault("upstreams.scaleToCommonStep", true)
viper.SetDefault("upstreams.graphite09compat", false)
viper.SetDefault("graphite09compat", false)
viper.SetDefault("expireDelaySec", 600)
viper.SetDefault("useCachingDNSResolver", false)
viper.SetDefault("logger", map[string]string{})
Expand Down

0 comments on commit 47511fe

Please sign in to comment.