Add numerical representation of Consul health check state. (#2277)
This commit is contained in:
committed by
Cameron Sparr
parent
074e6d177c
commit
738cbbdbb6
@@ -24,6 +24,9 @@ func TestGatherHealtCheck(t *testing.T) {
|
||||
expectedFields := map[string]interface{}{
|
||||
"check_name": "foo.health",
|
||||
"status": "passing",
|
||||
"passing": 1,
|
||||
"critical": 0,
|
||||
"warning": 0,
|
||||
"service_id": "foo.123",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user