Skip to content

Commit

Permalink
Update pkg/backup/backupschedule/backup_schedule_manager.go
Browse files Browse the repository at this point in the history
Co-authored-by: WangLe1321 <[email protected]>
  • Loading branch information
RidRisR and WangLe1321 authored Jan 14, 2025
1 parent 5784bdb commit fa3f39e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/backup/backupschedule/backup_schedule_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ func (bm *backupScheduleManager) handleLastCompact(ns, bsName, lastCompact strin
return fmt.Errorf("backup schedule %s/%s: get compact backup %s failed: %w", ns, bsName, lastCompact, err)
}

var timestamp string
var lastCompactTs string
switch compact.Status.State {
case string(v1alpha1.BackupComplete):
timestamp = compact.Spec.EndTs
Expand Down

0 comments on commit fa3f39e

Please sign in to comment.