Merge pull request #1311 from prometheus/up-down
Use up/down in UI for consistency with 'up' metric.
This commit is contained in:
commit
cb381e0bce
|
@ -73,9 +73,9 @@ func (t TargetHealth) String() string {
|
||||||
case HealthUnknown:
|
case HealthUnknown:
|
||||||
return "unknown"
|
return "unknown"
|
||||||
case HealthGood:
|
case HealthGood:
|
||||||
return "healthy"
|
return "up"
|
||||||
case HealthBad:
|
case HealthBad:
|
||||||
return "unhealthy"
|
return "down"
|
||||||
}
|
}
|
||||||
panic("unknown state")
|
panic("unknown state")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue