Browse Source

Merge pull request #14898 from prometheus/fix-targets-page-coloring

Fix border color for target pools with one target that is failing
pull/14519/merge
Julius Volz 2 months ago committed by GitHub
parent
commit
b93ed7bd17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      web/ui/mantine-ui/src/pages/targets/ScrapePoolsList.tsx

2
web/ui/mantine-ui/src/pages/targets/ScrapePoolsList.tsx

@ -53,7 +53,7 @@ type ScrapePools = {
};
const poolPanelHealthClass = (pool: ScrapePool) =>
pool.count > 1 && pool.downCount === pool.count
pool.count > 0 && pool.downCount === pool.count
? panelClasses.panelHealthErr
: pool.downCount >= 1
? panelClasses.panelHealthWarn

Loading…
Cancel
Save