mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: add provisioner api version to /buildinfo (#14446)
This commit is contained in:
@@ -2754,6 +2754,8 @@ type BuildInfoResponse struct {
|
||||
// AgentAPIVersion is the current version of the Agent API (back versions
|
||||
// MAY still be supported).
|
||||
AgentAPIVersion string `json:"agent_api_version"`
|
||||
// ProvisionerAPIVersion is the current version of the Provisioner API
|
||||
ProvisionerAPIVersion string `json:"provisioner_api_version"`
|
||||
|
||||
// UpgradeMessage is the message displayed to users when an outdated client
|
||||
// is detected.
|
||||
|
||||
Reference in New Issue
Block a user