From dd81ed896b14c7a34463d6fe0600535ca80ce2df Mon Sep 17 00:00:00 2001 From: Kazuki Suda Date: Wed, 6 Oct 2021 10:28:59 +0900 Subject: [PATCH] Fix "get" subcommands to use stdout instead of stderr Signed-off-by: Kazuki Suda --- cmd/flux/get.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/flux/get.go b/cmd/flux/get.go index 5aca72ab..db3d34dd 100644 --- a/cmd/flux/get.go +++ b/cmd/flux/get.go @@ -177,7 +177,7 @@ func (get getCommand) run(cmd *cobra.Command, args []string) error { return err } - utils.PrintTable(cmd.OutOrStderr(), header, rows) + utils.PrintTable(cmd.OutOrStdout(), header, rows) if getAll { fmt.Println()