Refactor e2e tests

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2021-08-16 21:16:28 +03:00
parent cec8b5336c
commit d1982e64b2
28 changed files with 272 additions and 161 deletions

View File

@ -177,7 +177,7 @@ func (get getCommand) run(cmd *cobra.Command, args []string) error {
return err
}
utils.PrintTable(os.Stdout, header, rows)
utils.PrintTable(cmd.OutOrStderr(), header, rows)
if getAll {
fmt.Println()