diff --git a/cli/command/image/list.go b/cli/command/image/list.go index 7efaf8426d..a34ddc5f3b 100644 --- a/cli/command/image/list.go +++ b/cli/command/image/list.go @@ -127,7 +127,6 @@ func runImages(ctx context.Context, dockerCLI command.Cli, options imagesOptions if useTree { return runTree(ctx, dockerCLI, treeOptions{ images: images, - all: options.all, filters: filters, expanded: options.tree, }) diff --git a/cli/command/image/tree.go b/cli/command/image/tree.go index 48b7d409ff..70b7482867 100644 --- a/cli/command/image/tree.go +++ b/cli/command/image/tree.go @@ -26,7 +26,6 @@ const untaggedName = "" type treeOptions struct { images []imagetypes.Summary - all bool filters client.Filters expanded bool }