Skip to content

Commit

Permalink
constants/constants.go: Add arch info to admin-helper linux binary
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
praveenkumar committed Jun 27, 2024
1 parent 66f9143 commit 589e152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/crc/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const (

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

Expand Down

0 comments on commit 589e152

Please sign in to comment.