We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b244ad6 + 89687d5 commit 881c353Copy full SHA for 881c353
1 file changed
cli/command/formatter/image.go
@@ -27,6 +27,9 @@ type ImageContext struct {
27
}
28
29
func isDangling(image types.ImageSummary) bool {
30
+ if len(image.RepoTags) == 0 && len(image.RepoDigests) == 0 {
31
+ return true
32
+ }
33
return len(image.RepoTags) == 1 && image.RepoTags[0] == "<none>:<none>" && len(image.RepoDigests) == 1 && image.RepoDigests[0] == "<none>@<none>"
34
35
0 commit comments