Merge pull request #3 from alanmeadows/ns_fix

Ensure workflow list leverages persistent namespace flag
This commit is contained in:
Ian Howell 2019-05-21 09:53:54 -05:00 committed by GitHub
commit 09f1995485
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ func NewWorkflowListCommand(out io.Writer, args []string) *cobra.Command {
panic(err.Error())
}
wflist, err := clientSet.Workflows("default").List(v1.ListOptions{})
wflist, err := clientSet.Workflows(namespace).List(v1.ListOptions{})
if err != nil {
panic(err.Error())
}