File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
- //go:build linux || windows
2
- // +build linux windows
1
+ //go:build linux || (windows && amd64)
3
2
4
3
package agent
5
4
Original file line number Diff line number Diff line change 1
- //go:build !linux && !windows
2
- // +build !linux,!windows
1
+ //go:build !linux && !(windows && amd64)
3
2
4
3
package agent
5
4
6
5
import "github.com/coder/coder/codersdk"
7
6
8
7
func (lp * listeningPortsHandler ) getListeningPorts () ([]codersdk.ListeningPort , error ) {
9
- // Can't scan for ports on non-linux or non-windows systems at the moment.
10
- // The UI will not show any "no ports found" message to the user, so the
11
- // user won't suspect a thing.
8
+ // Can't scan for ports on non-linux or non-windows_amd64 systems at the
9
+ // moment. The UI will not show any "no ports found" message to the user, so
10
+ // the user won't suspect a thing.
12
11
return []codersdk.ListeningPort {}, nil
13
12
}
You can’t perform that action at this time.
0 commit comments