Merge pull request #887 from baude/kpod_fix_rmi_by_id

cmd/kpod/rmi.go: Fix deletion by ID
This commit is contained in:
Daniel J Walsh 2017-09-12 13:44:16 -04:00 committed by GitHub
commit 1eb9f8ed8c

View file

@ -79,10 +79,10 @@ func rmiCmd(c *cli.Context) error {
if err2 != nil {
return err
}
fmt.Printf("untagged: %s", name)
fmt.Printf("untagged: %s\n", name)
}
if len(image.Names) > 0 {
if len(image.Names) > 1 {
continue
}
id, err := images.RemoveImage(image, store)