Skip to content

Commit 34ac5b3

Browse files
committed
chore: add job type to show cmd
1 parent 2a99f03 commit 34ac5b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/cli/cmd/backup/show.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ func NewShowCmd() *cobra.Command {
6262
})
6363
}
6464
for _, job := range backupJobList.Items {
65-
tbLog.Println("JOBNAME \t STATUS \t STARTTIME \t ENDTIME \t")
66-
tbLog.Printf("%s \t %s \t %s \t %s \n", job.Name, job.Status.Status, job.Status.StartedAt, job.Status.EndedAt)
65+
tbLog.Println("JOBNAME \t STATUS \t TYPE \t STARTAT \t ENDAT \t")
66+
tbLog.Printf("%s \t %s \t %s \t %s \t %s \n", job.Name, job.Status.Status, job.Spec.Type, job.Status.StartedAt, job.Status.EndedAt)
6767
}
6868
if err = tbw.Flush(); err != nil {
6969
logger.Fatalln(err)

0 commit comments

Comments
 (0)