mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(coderd/healthcheck): add daemon-specific warnings to healthcheck output (#11490)
- Sorts provisioner daemons by name ascending in output - Adds daemon-specific warnings to healthcheck output - Reword some messages
This commit is contained in:
Generated
+16
-2
@@ -13109,10 +13109,10 @@ const docTemplate = `{
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"provisioner_daemons": {
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/codersdk.ProvisionerDaemon"
|
||||
"$ref": "#/definitions/healthcheck.ProvisionerDaemonsReportItem"
|
||||
}
|
||||
},
|
||||
"severity": {
|
||||
@@ -13126,6 +13126,20 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"healthcheck.ProvisionerDaemonsReportItem": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"provisioner_daemon": {
|
||||
"$ref": "#/definitions/codersdk.ProvisionerDaemon"
|
||||
},
|
||||
"warnings": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/health.Message"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"healthcheck.Report": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Generated
+16
-2
@@ -11933,10 +11933,10 @@
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"provisioner_daemons": {
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/codersdk.ProvisionerDaemon"
|
||||
"$ref": "#/definitions/healthcheck.ProvisionerDaemonsReportItem"
|
||||
}
|
||||
},
|
||||
"severity": {
|
||||
@@ -11950,6 +11950,20 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"healthcheck.ProvisionerDaemonsReportItem": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"provisioner_daemon": {
|
||||
"$ref": "#/definitions/codersdk.ProvisionerDaemon"
|
||||
},
|
||||
"warnings": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/health.Message"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"healthcheck.Report": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user