Merge pull request #7076 from shubham-pampattiwar/update-backup-log

Update backup log to reflect appropriate backup phase
This commit is contained in:
Shubham Pampattiwar
2023-12-11 12:49:06 -08:00
committed by GitHub

View File

@@ -740,7 +740,7 @@ func (b *backupReconciler) runBackup(backup *pkgbackup.Request) error {
}
}
b.logger.WithField(Backup, kubeutil.NamespaceAndName(backup)).Info("Backup completed")
b.logger.WithField(Backup, kubeutil.NamespaceAndName(backup)).Infof("Initial backup processing complete, moving to %s", backup.Status.Phase)
// if we return a non-nil error, the calling function will update
// the backup's phase to Failed.