[MM-56000] Add LDAP job command to mmctl (#25633)

Этот коммит содержится в:
Ben Schumacher
2024-04-22 12:19:53 +02:00
коммит произвёл GitHub
родитель 8348acac49
Коммит 3dae305dc7
8 изменённых файлов: 476 добавлений и 7 удалений

Просмотреть файл

@@ -213,7 +213,7 @@ func noCompletion(_ *cobra.Command, _ []string, _ string) ([]string, cobra.Shell
type validateArgsFn func(ctx context.Context, c client.Client, cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
func validateArgsWithClient(fn validateArgsFn) func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) { //nolint:unused // Remove with https://github.com/mattermost/mattermost/pull/25633
func validateArgsWithClient(fn validateArgsFn) func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
return func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
ctx, cancel := context.WithTimeout(context.Background(), shellCompleteTimeout)
defer cancel()