Change CreationTimestamp by StartTimestamp in backup list

Signed-off-by: Marc Tudurí <marctc@gmail.com>
pull/894/head
Marc Tudurí 2018-10-02 00:17:46 +02:00 committed by Marc Tudurí
parent 3542f39f5f
commit ae4bf3d5f8
1 changed files with 1 additions and 1 deletions

View File

@ -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
}