Don't need the date in KEEP in the end
This commit is contained in:
parent
02acdec8b5
commit
bea0537786
@ -303,7 +303,7 @@ func (r *BackupSessionReconciler) Reconcile(req ctrl.Request) (ctrl.Result, erro
|
|||||||
// we don't return anything, we keep going
|
// we don't return anything, we keep going
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
session.Status.Keep = strings.Join(keep, ",") + " " + time.Now().Format("2006 Jan 02 15:04:05 -0700 MST")
|
session.Status.Keep = strings.Join(keep, ",") // + " " + time.Now().Format("2006 Jan 02 15:04:05 -0700 MST")
|
||||||
if err := r.Status().Update(ctx, &session); err != nil {
|
if err := r.Status().Update(ctx, &session); err != nil {
|
||||||
log.Error(err, "unable to update session status", "session", session)
|
log.Error(err, "unable to update session status", "session", session)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user