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

fix(metrics): Ensure stable desc/hash for metrics. Fixes #3193 #3196

Merged
merged 1 commit into from Jun 8, 2020

Conversation

simster7
Copy link
Member

@simster7 simster7 commented Jun 8, 2020

Fixes #3193

desc += "bucket=" + fmt.Sprint(bucket) + ","
}
}
desc += "}"
return desc
}

func sortedMapStringStringKeys(in map[string]string) []string {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be a convenient place to use Go generics...

@simster7 simster7 changed the title fix: Ensure stable desc/hash for metrics fix: Ensure stable desc/hash for metrics. Fixes #3193 Jun 8, 2020
@sonarcloud
Copy link

sonarcloud bot commented Jun 8, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@alexec alexec changed the title fix: Ensure stable desc/hash for metrics. Fixes #3193 fix(metrics): Ensure stable desc/hash for metrics. Fixes #3193 Jun 8, 2020
@simster7 simster7 merged commit b86949f into argoproj:master Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom Metric: Race Conditions?
2 participants