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

pkg/profilestore: reject requests that have duplicate label names #1658

Merged
merged 2 commits into from
Sep 6, 2022

Conversation

heylongdacoder
Copy link
Contributor

Fixes: #1461

Signed-off-by: heylongdacoder heylongdacoder@gmail.com

@heylongdacoder heylongdacoder requested a review from a team as a code owner September 3, 2022 09:15
@CLAassistant
Copy link

CLAassistant commented Sep 3, 2022

CLA assistant check
All committers have signed the CLA.

@@ -466,8 +465,6 @@ mainLoop:
Value: l.Value,
})
}
// Must ensure label-set is sorted
sort.Sort(tl)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

since profilestore will sort the label-set, I think this can be removed?

Fixes: parca-dev#1461

Signed-off-by: heylongdacoder <heylongdacoder@gmail.com>
Copy link
Member

@brancz brancz left a comment

Choose a reason for hiding this comment

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

Thank you! lgtm

@brancz brancz merged commit fce0cdc into parca-dev:main Sep 6, 2022
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.

Validate no duplicate labels on writes
3 participants