From d317bc30bebd5066dcbeb7b09177019e89e8b86f Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 22 Aug 2025 12:27:19 +0200 Subject: [PATCH] cli/command/trust: remove deprecated NewPruneCommand These were deprecated in 7032f5922e4f49648b684b97b700c527fbcd3edf, which is part of the v28.4 release. Signed-off-by: Sebastiaan van Stijn --- cli/command/builder/prune.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cli/command/builder/prune.go b/cli/command/builder/prune.go index 088950eb3b..1e9e423139 100644 --- a/cli/command/builder/prune.go +++ b/cli/command/builder/prune.go @@ -32,13 +32,6 @@ type pruneOptions struct { keepStorage opts.MemBytes } -// NewPruneCommand returns a new cobra prune command for images -// -// Deprecated: Do not import commands directly. They will be removed in a future release. -func NewPruneCommand(dockerCli command.Cli) *cobra.Command { - return newPruneCommand(dockerCli) -} - // newPruneCommand returns a new cobra prune command for images func newPruneCommand(dockerCLI command.Cli) *cobra.Command { options := pruneOptions{filter: opts.NewFilterOpt()}