Skip to content

Commit

Permalink
Merge pull request #23 from Tarik02/fix/resolve-arch
Browse files Browse the repository at this point in the history
  • Loading branch information
AkihiroSuda authored May 20, 2021
2 parents db7e855 + 0a91ae0 commit 8422cbb
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 8422cbb

Please sign in to comment.