Skip to content

Commit

Permalink
Fix default arch resolve function
Browse files Browse the repository at this point in the history
Signed-off-by: Tarik02 <[email protected]>
  • Loading branch information
tarik02 committed May 19, 2021
1 parent 605e062 commit 0a91ae0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/limayaml/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ func FillDefault(y *LimaYAML) {

func resolveArch(s string) Arch {
if s == "" || s == "default" {
if runtime.GOOS == "amd64" {
return AARCH64
} else {
if runtime.GOARCH == "amd64" {
return X8664
} else {
return AARCH64
}
}
return s
Expand Down

0 comments on commit 0a91ae0

Please sign in to comment.