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(lwseverity): use stable sorting for severity #1161

Merged
merged 1 commit into from
Feb 24, 2023
Merged

fix(lwseverity): use stable sorting for severity #1161

merged 1 commit into from
Feb 24, 2023

Conversation

hazedav
Copy link
Collaborator

@hazedav hazedav commented Feb 24, 2023

Summary

Use stable sorting for severity sorting. This preserves the order of items coming in such that if we first sort by ID this will become a secondary sort once sorting by severity. This is needed since severities are not unique.

How did you test this change?

Unit testing added

Issue

https://lacework.atlassian.net/browse/GROW-1432

@hazedav hazedav requested a review from a team as a code owner February 24, 2023 03:32
@hazedav hazedav merged commit f927763 into main Feb 24, 2023
@hazedav hazedav deleted the GROW-1432 branch February 24, 2023 14:40
@lacework-releng lacework-releng mentioned this pull request Feb 25, 2023
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.

2 participants