Skip to content

Commit 8422cbb

Browse files
authored
Merge pull request #23 from Tarik02/fix/resolve-arch
2 parents db7e855 + 0a91ae0 commit 8422cbb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/limayaml/defaults.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ func FillDefault(y *LimaYAML) {
2323

2424
func resolveArch(s string) Arch {
2525
if s == "" || s == "default" {
26-
if runtime.GOOS == "amd64" {
27-
return AARCH64
28-
} else {
26+
if runtime.GOARCH == "amd64" {
2927
return X8664
28+
} else {
29+
return AARCH64
3030
}
3131
}
3232
return s

0 commit comments

Comments
 (0)