mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
* chore: add /v2 to import module path go mod requires semantic versioning with versions greater than 1.x This was a mechanical update by running: ``` go install github.com/marwan-at-work/mod/cmd/mod@latest mod upgrade ``` Migrate generated files to import /v2 * Fix gen
13 lines
449 B
Go
13 lines
449 B
Go
//go:build !linux && !(windows && amd64)
|
|
|
|
package agent
|
|
|
|
import "github.com/coder/coder/v2/codersdk"
|
|
|
|
func (lp *listeningPortsHandler) getListeningPorts() ([]codersdk.WorkspaceAgentListeningPort, error) {
|
|
// Can't scan for ports on non-linux or non-windows_amd64 systems at the
|
|
// moment. The UI will not show any "no ports found" message to the user, so
|
|
// the user won't suspect a thing.
|
|
return []codersdk.WorkspaceAgentListeningPort{}, nil
|
|
}
|