Skip to content

Commit

Permalink
change error message returned by task for namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhelfand authored and tekton-robot committed Sep 16, 2019
1 parent 4b79fb7 commit 2efd4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/task/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func printTaskDetails(s *cli.Stream, p cli.Params) error {

tasks, err := listAllTasks(cs.Tekton, p.Namespace())
if err != nil {
fmt.Fprintln(s.Err, emptyMsg)
fmt.Fprintf(os.Stderr, "Failed to list tasks from %s namespace \n", p.Namespace())
return err
}

Expand Down

0 comments on commit 2efd4e7

Please sign in to comment.