2022-10-06 13:42:58 +00:00
|
|
|
//go:build !linux && !(windows && amd64)
|
2022-10-06 12:38:22 +00:00
|
|
|
|
|
|
|
package agent
|
|
|
|
|
2023-08-18 18:55:43 +00:00
|
|
|
import "github.com/coder/coder/v2/codersdk"
|
2022-10-06 12:38:22 +00:00
|
|
|
|
2023-12-12 13:02:28 +00:00
|
|
|
func (*listeningPortsHandler) getListeningPorts() ([]codersdk.WorkspaceAgentListeningPort, error) {
|
2022-10-06 13:42:58 +00:00
|
|
|
// 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.
|
2023-01-29 21:47:24 +00:00
|
|
|
return []codersdk.WorkspaceAgentListeningPort{}, nil
|
2022-10-06 12:38:22 +00:00
|
|
|
}
|