Skip to content

Commit 589e152

Browse files
committed
constants/constants.go: Add arch info to admin-helper linux binary
admin-helper now have arm64 and amd64 binary for linux platform. This PR will make sure correct binary is downloaded and used for specific platform.
1 parent 66f9143 commit 589e152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/crc/constants/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const (
5555

5656
var adminHelperExecutableForOs = map[string]string{
5757
"darwin": "crc-admin-helper-darwin",
58-
"linux": "crc-admin-helper-linux",
58+
"linux": fmt.Sprintf("crc-admin-helper-linux-%s", runtime.GOARCH),
5959
"windows": "crc-admin-helper-windows.exe",
6060
}
6161

0 commit comments

Comments
 (0)