mirror of
https://github.com/fluxcd/flux2.git
synced 2025-11-02 02:35:49 +08:00
Fix "get" subcommands to use stdout instead of stderr
Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com>
This commit is contained in:
@ -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()
|
||||
|
||||
Reference in New Issue
Block a user