Skip to content

Commit

Permalink
Fix wrongly detecting kicbase arch as incorrect (#19664)
Browse files Browse the repository at this point in the history
  • Loading branch information
spowelljr authored Sep 20, 2024
1 parent bebee72 commit 0292fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/minikube/download/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func isImageCorrectArch(img string) (bool, error) {
if err != nil {
return false, fmt.Errorf("failed to get config for %s: %v", img, err)
}
return cfg.Architecture == runtime.GOOS, nil
return cfg.Architecture == runtime.GOARCH, nil
}

// ImageToCache downloads img (if not present in cache) and writes it to the local cache directory
Expand Down

0 comments on commit 0292fb5

Please sign in to comment.