diff --git a/cli/command/image/tree.go b/cli/command/image/tree.go index ec4ef7b4e4..ac6b209ead 100644 --- a/cli/command/image/tree.go +++ b/cli/command/image/tree.go @@ -56,7 +56,6 @@ func runTree(ctx context.Context, dockerCLI command.Cli, opts treeOptions) error continue } - im := im sub := subImage{ Platform: platforms.Format(im.ImageData.Platform), Available: im.Available,