Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit29a2fe4

Browse files
authored
fix: fix builds on windows_arm64 (#4388)
1 parent93b8121 commit29a2fe4

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

‎agent/ports_supported.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
//go:build linux || windows
2-
// +build linux windows
1+
//go:build linux || (windows && amd64)
32

43
package agent
54

‎agent/ports_unsupported.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
//go:build !linux && !windows
2-
// +build !linux,!windows
1+
//go:build !linux && !(windows && amd64)
32

43
package agent
54

65
import"github.com/coder/coder/codersdk"
76

87
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+
//theuser won't suspect a thing.
1211
return []codersdk.ListeningPort{},nil
1312
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp