Merge pull request #1735 from estesp/image-rm-feedback
Fix output on ctr images rm to show actual feedback
This commit is contained in:
commit
92ca22c997
@ -291,9 +291,11 @@ var removeCommand = cli.Command{
|
|||||||
log.G(ctx).WithError(err).Errorf("unable to delete %v", target)
|
log.G(ctx).WithError(err).Errorf("unable to delete %v", target)
|
||||||
continue
|
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
|
return exitErr
|
||||||
|
Loading…
Reference in New Issue
Block a user