feat: do not fail DERP healthcheck if WebSocket is used (#10714)

This commit is contained in:
Marcin Tojek
2023-11-17 16:00:49 +01:00
committed by GitHub
parent 24aa223399
commit 8999d5785a
14 changed files with 285 additions and 80 deletions

36
coderd/apidoc/docs.go generated
View File

@ -12115,6 +12115,12 @@ const docTemplate = `{
},
"uses_websocket": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
@ -12135,6 +12141,12 @@ const docTemplate = `{
},
"region": {
"$ref": "#/definitions/tailcfg.DERPRegion"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
@ -12164,6 +12176,12 @@ const docTemplate = `{
"additionalProperties": {
"$ref": "#/definitions/derphealth.RegionReport"
}
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
@ -12201,6 +12219,12 @@ const docTemplate = `{
},
"status_code": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
@ -12224,6 +12248,12 @@ const docTemplate = `{
},
"threshold_ms": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
@ -12277,6 +12307,12 @@ const docTemplate = `{
},
"healthy": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
}
},