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

Changed the structure of the response body for Distribution statistics #1397

Merged

Conversation

denislavprinov
Copy link
Contributor

No description provided.

Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>
@hawkbit-bot
Copy link

Can one of the admins verify this patch?

Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>
return statistics;
}

private Map<String, Long> calculateTotalWithStatus(Map<String, Long> statusMap) {
if (statusMap.isEmpty()) {
return null;
if (!fullRepresentation) {
Copy link
Contributor

Choose a reason for hiding this comment

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

why not directly (!fullRepresentation && statusMap.isEmpty() ?

Signed-off-by: Denislav Prinov <denislav.prinov@bosch.com>
@strailov strailov merged commit 71740cc into eclipse-hawkbit:master Jul 17, 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.

3 participants