From 91437a804181657c774f9f46a1ccabd312c0cd30 Mon Sep 17 00:00:00 2001 From: Alan Meadows Date: Mon, 20 May 2019 14:45:30 -0700 Subject: [PATCH] Ensure workflow list leverages persistent namespace flag --- cmd/workflow_list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/workflow_list.go b/cmd/workflow_list.go index acf535a60..252541517 100644 --- a/cmd/workflow_list.go +++ b/cmd/workflow_list.go @@ -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()) }