Skip to content

Commit

Permalink
Update cli/command/container/completion.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
albers and thaJeztah authored Oct 30, 2024
1 parent bdae758 commit 110bb3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/command/container/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ var restartPolicies = []string{
}

// addCompletions adds the completions that `run` and `create` have in common.
func addCompletions(cmd *cobra.Command, dockerCli command.Cli) {
func addCompletions(cmd *cobra.Command, dockerCLI completion.APIClientProvider) {
_ = cmd.RegisterFlagCompletionFunc("add-host", completion.NoComplete)
_ = cmd.RegisterFlagCompletionFunc("annotation", completion.NoComplete)
_ = cmd.RegisterFlagCompletionFunc("attach", completion.FromList("stderr", "stdin", "stdout"))
Expand Down

0 comments on commit 110bb3d

Please sign in to comment.