Skip to content

Commit 1beb3d4

Browse files
authored
Merge pull request #6355 from thaJeztah/rm_image_pull
cli/command/image: remove exported RunPull, PullOptions
2 parents 0395cdb + 9216f04 commit 1beb3d4

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
@@ -58,11 +55,6 @@ func newPullCommand(dockerCLI command.Cli) *cobra.Command {
5855
return cmd
5956
}
6057

61-
// RunPull performs a pull against the engine based on the specified options
62-
func RunPull(ctx context.Context, dockerCLI command.Cli, opts PullOptions) error {
63-
return runPull(ctx, dockerCLI, opts)
64-
}
65-
6658
// runPull performs a pull against the engine based on the specified options
6759
func runPull(ctx context.Context, dockerCLI command.Cli, opts pullOptions) error {
6860
distributionRef, err := reference.ParseNormalizedNamed(opts.remote)

0 commit comments

Comments
 (0)