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,10 +291,12 @@ 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)
|
||||
}
|
||||
}
|
||||
|
||||
return exitErr
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user