mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
hotfix(healthcheck): properly calculate healthy status (#7746)
This commit is contained in:
+4
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user