mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: fix workspacesdk to return error on API mismatch (#13683)
This commit is contained in:
@@ -55,6 +55,8 @@ const (
|
||||
AgentMinimumListeningPort = 9
|
||||
)
|
||||
|
||||
const AgentAPIMismatchMessage = "Unknown or unsupported API version"
|
||||
|
||||
// AgentIgnoredListeningPorts contains a list of ports to ignore when looking for
|
||||
// running applications inside a workspace. We want to ignore non-HTTP servers,
|
||||
// so we pre-populate this list with common ports that are not HTTP servers.
|
||||
|
||||
Reference in New Issue
Block a user