Skip to content

Commit 0292fb5

Browse files
authored
Fix wrongly detecting kicbase arch as incorrect (#19664)
1 parent bebee72 commit 0292fb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pkg/minikube/download/image.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func isImageCorrectArch(img string) (bool, error) {
115115
if err != nil {
116116
return false, fmt.Errorf("failed to get config for %s: %v", img, err)
117117
}
118-
return cfg.Architecture == runtime.GOOS, nil
118+
return cfg.Architecture == runtime.GOARCH, nil
119119
}
120120

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

0 commit comments

Comments
 (0)