rename probe.Healthy to probe.Success and renam probe.Unhealthy to probe.Failure.

This commit is contained in:
Mike Danese
2015-01-27 10:22:53 -08:00
parent 6eb0b89cbd
commit 5dc6362f8a
14 changed files with 33 additions and 33 deletions

View File

@@ -20,17 +20,17 @@ type Status int
// Status values must be one of these constants.
const (
Healthy Status = iota
Unhealthy
Success Status = iota
Failure
Unknown
)
func (s Status) String() string {
switch s {
case Healthy:
return "healthy"
case Unhealthy:
return "unhealthy"
case Success:
return "success"
case Failure:
return "failure"
default:
return "unknown"
}