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)