mirror of
https://github.com/prometheus/prometheus
synced 2025-01-12 09:40:00 +00:00
Use up/down in UI for consistency with 'up' metric.
This commit is contained in:
parent
3c81843167
commit
7a5f019c40
@ -73,9 +73,9 @@ func (t TargetHealth) String() string {
|
||||
case HealthUnknown:
|
||||
return "unknown"
|
||||
case HealthGood:
|
||||
return "healthy"
|
||||
return "up"
|
||||
case HealthBad:
|
||||
return "unhealthy"
|
||||
return "down"
|
||||
}
|
||||
panic("unknown state")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user