Merge pull request #1311 from prometheus/up-down

Use up/down in UI for consistency with 'up' metric.
This commit is contained in:
Brian Brazil 2016-01-12 12:19:23 +00:00
commit cb381e0bce
1 changed files with 2 additions and 2 deletions

View File

@ -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")
}