Skip to content
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

Merged
merged 7 commits into from
May 5, 2020

Conversation

joe94
Copy link
Member

@joe94 joe94 commented May 5, 2020

No description provided.

@joe94 joe94 self-assigned this May 5, 2020
@joe94 joe94 added the bug label May 5, 2020
@codecov-io
Copy link

codecov-io commented May 5, 2020

Codecov Report

Merging #127 into master will decrease coverage by 0.29%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            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              
Impacted Files Coverage Δ
main.go 0.00% <0.00%> (ø)
primaryHandler.go 0.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e6e83c9...d0a27b1. Read the comment docs.

@joe94 joe94 requested review from kcajmagic and johnabass May 5, 2020 17:46
@@ -54,6 +54,10 @@ var (
BuildTime = "undefined"
)

func setupDefaultConfigValues(v *viper.Viper) {
v.SetDefault(RehasherServicesConfigKey, []string{applicationName})
Copy link
Contributor

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

@joe94 joe94 merged commit 71be2c8 into master May 5, 2020
@joe94 joe94 deleted the feature/MultiSDWatch branch May 5, 2020 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants