mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
Fix border color for target pools with one target that is failing
Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
parent
50cd453c8f
commit
dfec29d8e5
|
@ -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 a new issue