Skip to content

Commit

Permalink
Merge pull request #894 from marctc/fix_backup_list_date
Browse files Browse the repository at this point in the history
Change CreationTimestamp to StartTimestamp in backup list
  • Loading branch information
skriss authored Oct 2, 2018
2 parents 65209cd + ae4bf3d commit 82ab2d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/util/output/backup_printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func printBackup(backup *arkv1api.Backup, w io.Writer, options printers.PrintOpt

location := backup.Spec.StorageLocation

if _, err := fmt.Fprintf(w, "%s\t%s\t%s\t%s\t%s\t%s", name, status, backup.CreationTimestamp.Time, humanReadableTimeFromNow(expiration), location, metav1.FormatLabelSelector(backup.Spec.LabelSelector)); err != nil {
if _, err := fmt.Fprintf(w, "%s\t%s\t%s\t%s\t%s\t%s", name, status, backup.Status.StartTimestamp.Time, humanReadableTimeFromNow(expiration), location, metav1.FormatLabelSelector(backup.Spec.LabelSelector)); err != nil {
return err
}

Expand Down

0 comments on commit 82ab2d7

Please sign in to comment.