From 8f6d46be8772d613b0bdfd7b216f3ea9b640989d Mon Sep 17 00:00:00 2001 From: allenxu404 Date: Tue, 19 Dec 2023 15:22:54 +0800 Subject: [PATCH] Remove the redundant newline in backup describe output Signed-off-by: allenxu404 --- changelogs/unreleased/7229-allenxu404 | 1 + pkg/cmd/util/output/backup_describer.go | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 changelogs/unreleased/7229-allenxu404 diff --git a/changelogs/unreleased/7229-allenxu404 b/changelogs/unreleased/7229-allenxu404 new file mode 100644 index 000000000..1ef7bdb7e --- /dev/null +++ b/changelogs/unreleased/7229-allenxu404 @@ -0,0 +1 @@ +Remove the redundant newline in backup describe output \ No newline at end of file diff --git a/pkg/cmd/util/output/backup_describer.go b/pkg/cmd/util/output/backup_describer.go index 664684cf7..c3224a862 100644 --- a/pkg/cmd/util/output/backup_describer.go +++ b/pkg/cmd/util/output/backup_describer.go @@ -362,8 +362,6 @@ func DescribeBackupStatus(ctx context.Context, kbClient kbclient.Client, d *Desc describeBackupVolumes(ctx, kbClient, d, backup, details, insecureSkipTLSVerify, caCertPath, podVolumeBackups) - d.Println() - if status.HookStatus != nil { d.Println() d.Printf("HooksAttempted:\t%d\n", status.HookStatus.HooksAttempted)