Remove GetImage() and make rmi use more robust FindImage()

Signed-off-by: Ryan Cole <rcyoalne@gmail.com>
This commit is contained in:
Ryan Cole 2017-07-25 09:02:45 -04:00
parent c1706475c0
commit 18f94f38ba
2 changed files with 1 additions and 81 deletions

View file

@ -45,7 +45,7 @@ func rmiCmd(c *cli.Context) error {
}
for _, id := range args {
image, err := libkpodimage.GetImage(store, id)
image, err := libkpodimage.FindImage(store, id)
if err != nil {
return errors.Wrapf(err, "could not get image %q", id)
}