chore: add provisioner api version to /buildinfo (#14446)

This commit is contained in:
Kayla Washburn-Love
2024-08-27 13:40:51 -06:00
committed by GitHub
parent f3c76ce244
commit b36d979a60
8 changed files with 34 additions and 18 deletions
+2
View File
@@ -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.