You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/minikube/node/cache.go
+10-25
Original file line number
Diff line number
Diff line change
@@ -129,14 +129,15 @@ func beginDownloadKicBaseImage(g *errgroup.Group, cc *config.ClusterConfig, down
129
129
varfinalImgstring
130
130
// If we end up using a fallback image, notify the user
131
131
deferfunc() {
132
-
iffinalImg!=""&&finalImg!=baseImg {
133
-
out.WarningT(fmt.Sprintf("minikube was unable to download %s, but successfully downloaded %s as a fallback image", image.Tag(baseImg), image.Tag(finalImg)))
132
+
iffinalImg!="" {
134
133
cc.KicBaseImage=finalImg
134
+
ifimage.Tag(finalImg) !=image.Tag(baseImg) {
135
+
out.WarningT(fmt.Sprintf("minikube was unable to download %s, but successfully downloaded %s as a fallback image", image.Tag(baseImg), image.Tag(finalImg)))
out.ErrT(style.Connectivity, "Unfortunately, could not download the base image {{.image_name}} ", out.V{"image_name": strings.Split(kic.BaseImage, "@")[0]})
179
+
out.ErrT(style.Connectivity, "Unfortunately, could not download the base image {{.image_name}} ", out.V{"image_name": image.Tag(kic.BaseImage)})
195
180
out.WarningT("In order to use the fall back image, you need to log in to the github packages registry")
196
181
out.Styled(style.Documentation, `Please visit the following link for documentation around this:
0 commit comments