Remove GetImage() and make rmi use more robust FindImage()
Signed-off-by: Ryan Cole <rcyoalne@gmail.com>
This commit is contained in:
parent
c1706475c0
commit
18f94f38ba
2 changed files with 1 additions and 81 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue