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

Clean up Report management #611

Merged
merged 13 commits into from
Sep 26, 2024
Merged

Clean up Report management #611

merged 13 commits into from
Sep 26, 2024

Conversation

ayolab
Copy link
Contributor

@ayolab ayolab commented Sep 6, 2024

No description provided.

@dbraquart dbraquart self-requested a review September 12, 2024 16:07
Copy link
Contributor

@dbraquart dbraquart left a comment

Choose a reason for hiding this comment

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

code: 1 remark
tests : on going

Comment on lines 1671 to 1672
List<Report> subReporters = List.of(reportService.getReport(reportUuid, nodeUuid.toString(), severityLevels));
return subReporters.isEmpty() ? subReporters : List.of(subReporters.get(subReporters.size() - 1));
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
List<Report> subReporters = List.of(reportService.getReport(reportUuid, nodeUuid.toString(), severityLevels));
return subReporters.isEmpty() ? subReporters : List.of(subReporters.get(subReporters.size() - 1));
return List.of(reportService.getReport(reportUuid, nodeUuid.toString(), severityLevels));

can be simplified

@ayolab ayolab changed the base branch from main to filter_report_on_msg September 16, 2024 09:11
@ayolab ayolab force-pushed the ayolab/clean-up-report-management branch from bdf361b to 24787d8 Compare September 18, 2024 09:08
@ayolab ayolab changed the base branch from filter_report_on_msg to main September 18, 2024 09:08
Signed-off-by: Ayoub LABIDI <[email protected]>
Signed-off-by: Ayoub LABIDI <[email protected]>
Signed-off-by: Ayoub LABIDI <[email protected]>
@ayolab ayolab force-pushed the ayolab/clean-up-report-management branch from 1ae53c6 to 3421f31 Compare September 18, 2024 14:21
Copy link

Signed-off-by: Ayoub LABIDI <[email protected]>
@ayolab ayolab force-pushed the ayolab/clean-up-report-management branch from aa078c8 to 0a791da Compare September 19, 2024 10:33
@ayolab ayolab force-pushed the ayolab/clean-up-report-management branch from d26af43 to f4bd532 Compare September 19, 2024 13:45
Signed-off-by: Ayoub LABIDI <[email protected]>
Copy link

@ayolab ayolab merged commit e22268d into main Sep 26, 2024
3 checks passed
@ayolab ayolab deleted the ayolab/clean-up-report-management branch September 26, 2024 13:07
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.

3 participants