mirror of https://github.com/coder/coder.git
13 lines
446 B
Go
13 lines
446 B
Go
//go:build !linux && !(windows && amd64)
|
|
|
|
package agent
|
|
|
|
import "github.com/coder/coder/v2/codersdk"
|
|
|
|
func (*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
|
|
}
|