Skip to content

Commit 0a91ae0

Browse files
committed
Fix default arch resolve function
Signed-off-by: Tarik02 <[email protected]>
1 parent 605e062 commit 0a91ae0

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)