Skip to content

Commit 6f7865f

Browse files
authored
Merge pull request #6358 from thaJeztah/28.x_backport_rm_image_pull
[28.x backport] cli/command/image: remove exported RunPull, PullOptions
2 parents 23518a4 + 146f649 commit 6f7865f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

cli/command/image/pull.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ import (
1414
"github.com/spf13/cobra"
1515
)
1616

17-
// PullOptions defines what and how to pull
18-
type PullOptions = pullOptions
19-
2017
// pullOptions defines what and how to pull.
2118
type pullOptions struct {
2219
remote string
@@ -65,11 +62,6 @@ func newPullCommand(dockerCLI command.Cli) *cobra.Command {
6562
return cmd
6663
}
6764

68-
// RunPull performs a pull against the engine based on the specified options
69-
func RunPull(ctx context.Context, dockerCLI command.Cli, opts PullOptions) error {
70-
return runPull(ctx, dockerCLI, opts)
71-
}
72-
7365
// runPull performs a pull against the engine based on the specified options
7466
func runPull(ctx context.Context, dockerCLI command.Cli, opts pullOptions) error {
7567
distributionRef, err := reference.ParseNormalizedNamed(opts.remote)

0 commit comments

Comments
 (0)