prevent misleading message from being logged
parent
6bcddb0ab4
commit
01221e0566
|
@ -74,6 +74,7 @@ func SaveToDir(images []string, cacheDir string, overwrite bool) error {
|
|||
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})
|
||||
return nil
|
||||
} else {
|
||||
return errors.Wrapf(err, "caching image %q", dst)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue