mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
hotfix(healthcheck): properly calculate healthy status (#7746)
This commit is contained in:
9
coderd/apidoc/docs.go
generated
9
coderd/apidoc/docs.go
generated
@ -10322,13 +10322,13 @@ const docTemplate = `{
|
||||
"healthy": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"healthzResponse": {
|
||||
"healthz_response": {
|
||||
"type": "string"
|
||||
},
|
||||
"reachable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"statusCode": {
|
||||
"status_code": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
@ -10440,7 +10440,7 @@ const docTemplate = `{
|
||||
"derp": {
|
||||
"$ref": "#/definitions/healthcheck.DERPReport"
|
||||
},
|
||||
"pass": {
|
||||
"healthy": {
|
||||
"description": "Healthy is true if the report returns no errors.",
|
||||
"type": "boolean"
|
||||
},
|
||||
@ -10457,6 +10457,9 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"error": {},
|
||||
"healthy": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "#/definitions/healthcheck.WebsocketResponse"
|
||||
}
|
||||
|
Reference in New Issue
Block a user