From 6d150a15eb96183fb21faf6a49b0997e6150880b Mon Sep 17 00:00:00 2001 From: Anes Benmerzoug Date: Tue, 13 Aug 2019 18:52:09 +0200 Subject: [PATCH] Initialize the wfClientset before using it (#1548) --- cmd/argo/commands/lint.go | 1 + 1 file changed, 1 insertion(+) 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 {