Skip to content

Commit

Permalink
Initialize the wfClientset before using it (#1548)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnesBenmerzoug authored and sarabala1979 committed Aug 13, 2019
1 parent 5331fc0 commit 6d150a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/argo/commands/lint.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func NewLintCommand() *cobra.Command {
log.Fatal(err)
}

_ = InitWorkflowClient()
validateDir := cmdutil.MustIsDir(args[0])
if validateDir {
if len(args) > 1 {
Expand Down

0 comments on commit 6d150a1

Please sign in to comment.