fix: ctr images check outputs not unpacked images in quite mode

`ctr images check -q` shouldn't output images which were not
unpacked.

Signed-off-by: Maksim An <maksiman@microsoft.com>
This commit is contained in:
Maksim An 2023-07-18 10:16:54 -07:00
parent f86d585ce6
commit 90ecb8104e

View File

@ -300,7 +300,7 @@ var checkCommand = cli.Command{
size,
unpacked)
} else {
if complete {
if complete && unpacked {
fmt.Println(image.Name())
}
}