hotfix(healthcheck): properly calculate healthy status (#7746)

This commit is contained in:
Colin Adler
2023-05-31 20:17:33 +00:00
committed by GitHub
parent 828f33ac7b
commit f1d27ba42d
7 changed files with 43 additions and 29 deletions
+4 -3
View File
@@ -42,9 +42,9 @@ curl -X GET http://coder-server:8080/api/v2/debug/health \
"access_url": {
"error": null,
"healthy": true,
"healthzResponse": "string",
"healthz_response": "string",
"reachable": true,
"statusCode": 0
"status_code": 0
},
"derp": {
"error": null,
@@ -206,10 +206,11 @@ curl -X GET http://coder-server:8080/api/v2/debug/health \
}
}
},
"pass": true,
"healthy": true,
"time": "string",
"websocket": {
"error": null,
"healthy": true,
"response": {
"body": "string",
"code": 0