reword warning message

pull/11601/head
Steven Powell 2021-06-07 17:16:29 -07:00
parent 103d7a6836
commit b4cc318d85
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ func SaveToDir(images []string, cacheDir string, overwrite bool) error {
dst = localpath.SanitizeCacheDir(dst)
if err := saveToTarFile(image, dst, overwrite); err != nil {
if err == errCacheImageDoesntExist {
out.WarningT("The image you are trying to add {{.imageName}} doesn't exist!", out.V{"imageName": image})
out.WarningT("The image '{{.imageName}}' was not found; unable to add it to cache.", out.V{"imageName": image})
return nil
}
return errors.Wrapf(err, "caching image %q", dst)