Merge pull request #1735 from estesp/image-rm-feedback

Fix output on ctr images rm to show actual feedback
This commit is contained in:
Michael Crosby 2017-11-13 14:18:12 -05:00 committed by GitHub
commit 92ca22c997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -291,9 +291,11 @@ var removeCommand = cli.Command{
log.G(ctx).WithError(err).Errorf("unable to delete %v", target)
continue
}
// image ref not found in metadata store; log not found condition
log.G(ctx).Warnf("%v: image not found", target)
} else {
fmt.Println(target)
}
fmt.Println(target)
}
return exitErr