diff --git a/cmd/argo/commands/lint.go b/cmd/argo/commands/lint.go index c44b77538799..297c3fa5fcb1 100644 --- a/cmd/argo/commands/lint.go +++ b/cmd/argo/commands/lint.go @@ -29,6 +29,7 @@ func NewLintCommand() *cobra.Command { log.Fatal(err) } + _ = InitWorkflowClient() validateDir := cmdutil.MustIsDir(args[0]) if validateDir { if len(args) > 1 {