Add numerical representation of Consul health check state. (#2277)

This commit is contained in:
John Engelman
2017-01-28 18:47:25 -06:00
committed by Cameron Sparr
parent 074e6d177c
commit 738cbbdbb6
4 changed files with 18 additions and 2 deletions

View File

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