Skip to content

Commit ef38d81

Browse files
authored
Merge pull request docker#6245 from thaJeztah/rm_completion
cli/command/completion: remove deprecated ValidArgsFn
2 parents 4beddd3 + 5052a39 commit ef38d81

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cli/command/completion/functions.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ import (
1313
"github.com/spf13/cobra"
1414
)
1515

16-
// ValidArgsFn a function to be used by cobra command as `ValidArgsFunction` to offer command line completion.
17-
//
18-
// Deprecated: use [cobra.CompletionFunc].
19-
type ValidArgsFn = cobra.CompletionFunc
20-
2116
// APIClientProvider provides a method to get an [client.APIClient], initializing
2217
// it if needed.
2318
//

0 commit comments

Comments
 (0)