mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: include server agent API version in buildinfo (#11057)
First part of #10340 -- we need this version to compare with agents to tell if they are on a deprecated Agent API version
This commit is contained in:
@@ -2003,6 +2003,10 @@ type BuildInfoResponse struct {
|
||||
DashboardURL string `json:"dashboard_url"`
|
||||
|
||||
WorkspaceProxy bool `json:"workspace_proxy"`
|
||||
|
||||
// AgentAPIVersion is the current version of the Agent API (back versions
|
||||
// MAY still be supported).
|
||||
AgentAPIVersion string `json:"agent_api_version"`
|
||||
}
|
||||
|
||||
type WorkspaceProxyBuildInfo struct {
|
||||
|
||||
Reference in New Issue
Block a user