mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-05 05:37:10 +02:00
Merge pull request #14898 from prometheus/fix-targets-page-coloring
Fix border color for target pools with one target that is failing
This commit is contained in:
commit
b93ed7bd17
@ -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…
Reference in New Issue
Block a user