From 9216f04eb6a3c4195cf166acf8aec0aa8559a44e Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 23 Aug 2025 03:35:51 +0200 Subject: [PATCH] cli/command/image: remove exported RunPull, PullOptions These were exported in 812f1136850f6c18bbe3f1b2a960a8ff8a8413f3, but while the function and options are exported, the option-fields were all un-exported, so these were not usable. Signed-off-by: Sebastiaan van Stijn --- cli/command/image/pull.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cli/command/image/pull.go b/cli/command/image/pull.go index 21219e7ce0..b105584590 100644 --- a/cli/command/image/pull.go +++ b/cli/command/image/pull.go @@ -14,9 +14,6 @@ import ( "github.com/spf13/cobra" ) -// PullOptions defines what and how to pull -type PullOptions = pullOptions - // pullOptions defines what and how to pull. type pullOptions struct { remote string @@ -58,11 +55,6 @@ func newPullCommand(dockerCLI command.Cli) *cobra.Command { return cmd } -// RunPull performs a pull against the engine based on the specified options -func RunPull(ctx context.Context, dockerCLI command.Cli, opts PullOptions) error { - return runPull(ctx, dockerCLI, opts) -} - // runPull performs a pull against the engine based on the specified options func runPull(ctx context.Context, dockerCLI command.Cli, opts pullOptions) error { distributionRef, err := reference.ParseNormalizedNamed(opts.remote)