Skip to content

Commit

Permalink
Merge pull request containerd#8837 from anmaxvl/fix-ctr-images-check-…
Browse files Browse the repository at this point in the history
…quiet

fix: `ctr images check -q` outputs not unpacked images
  • Loading branch information
fuweid authored Jul 24, 2023
2 parents e587e45 + 90ecb81 commit 6eb90a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ctr/commands/images/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ var checkCommand = cli.Command{
size,
unpacked)
} else {
if complete {
if complete && unpacked {
fmt.Println(image.Name())
}
}
Expand Down

0 comments on commit 6eb90a6

Please sign in to comment.