Skip to content
Snippets Groups Projects
Commit b1e6adbe authored by kbeyro's avatar kbeyro
Browse files

filter out 0 values from popular app map

parent 33fece53
No related branches found
No related tags found
1 merge request!192add mail type
Pipeline #94159 passed
...@@ -64,6 +64,9 @@ public class DashboardServiceImpl implements DashboardService { ...@@ -64,6 +64,9 @@ public class DashboardServiceImpl implements DashboardService {
applicationDeploymentCountPerName.put(name, appInstanceRepo.countByName(name)); applicationDeploymentCountPerName.put(name, appInstanceRepo.countByName(name));
}); });
//filter not deployed application
applicationDeploymentCountPerName.entrySet().removeIf(app -> app.getValue() == 0);
return DashboardView.builder() return DashboardView.builder()
.domainsCount(domainRepository.count()) .domainsCount(domainRepository.count())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment