If you're only configuration gostatsd to be configured from in memory values, the existing code will override what is currently set in memory. This will create a default set of values and allow the existing viper configuration to apply its own overrides for existing values.
Changes
Merging maps and creating a viper configuration out of it since the viper.MergeConfigMap is wrong.
Context
If you're only configuration gostatsd to be configured from in memory values, the existing code will override what is currently set in memory. This will create a default set of values and allow the existing viper configuration to apply its own overrides for existing values.
Changes
viper.MergeConfigMap
is wrong.