diff options
author | Sebastiaan van Stijn <github@gone.nl> | 2022-09-23 22:31:33 +0200 |
---|---|---|
committer | Sebastiaan van Stijn <github@gone.nl> | 2022-09-28 01:58:51 +0200 |
commit | 05042ce4723297f1fceabd2d7b928ff543537dfb (patch) | |
tree | 69c03d644a35e90541f26b14a6f05761eb4f83b4 /daemon/images/image_list.go | |
parent | 0695a910c6bededc23ba6fd102528e40f0f9c445 (diff) | |
download | docker-05042ce4723297f1fceabd2d7b928ff543537dfb.tar.gz |
daemon/images: fix empty-lines (revive)
daemon/images/image_squash.go:17:71: empty-lines: extra empty line at the start of a block (revive)
daemon/images/store.go:128:27: empty-lines: extra empty line at the end of a block (revive)
daemon/images/image_list.go:154:55: empty-lines: extra empty line at the start of a block (revive)
daemon/images/image_delete.go:135:13: empty-lines: extra empty line at the end of a block (revive)
daemon/images/image_search.go:25:64: empty-lines: extra empty line at the start of a block (revive)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'daemon/images/image_list.go')
-rw-r--r-- | daemon/images/image_list.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/daemon/images/image_list.go b/daemon/images/image_list.go index f898f7249a..f8dd2eb3b1 100644 --- a/daemon/images/image_list.go +++ b/daemon/images/image_list.go @@ -152,7 +152,6 @@ func (i *ImageService) Images(ctx context.Context, opts types.ImageListOptions) } if summary.RepoDigests == nil && summary.RepoTags == nil { if opts.All || len(i.imageStore.Children(id)) == 0 { - if opts.Filters.Contains("dangling") && !danglingOnly { // dangling=false case, so dangling image is not needed continue |