-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update code for changes in rehasher and sd metrics #127
Conversation
Codecov Report
@@ Coverage Diff @@
## master #127 +/- ##
==========================================
- Coverage 58.44% 58.14% -0.30%
==========================================
Files 14 14
Lines 977 982 +5
==========================================
Hits 571 571
- Misses 397 402 +5
Partials 9 9
Continue to review full report at Codecov.
|
@@ -54,6 +54,10 @@ var ( | |||
BuildTime = "undefined" | |||
) | |||
|
|||
func setupDefaultConfigValues(v *viper.Viper) { | |||
v.SetDefault(RehasherServicesConfigKey, []string{applicationName}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When doing this, something that helps avoid later errors is to use SetTypeByDefaultValue(true)
:
https://pkg.go.dev/github.com/spf13/viper?tab=doc#SetTypeByDefaultValue
No description provided.