Skip to content

Commit

Permalink
initialize status updater
Browse files Browse the repository at this point in the history
  • Loading branch information
RidRisR committed Dec 26, 2024
1 parent 129ff36 commit 101c5cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/controller/compactbackup/compact_backup_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ func NewController(deps *controller.Dependencies) *Controller {
"compactBackup",
),
cli: deps.Clientset,
statusUpdater: controller.NewCompactStatusUpdater(
deps.Recorder, deps.CompactBackupLister, deps.Clientset,
),
}

backupInformer := deps.InformerFactory.Pingcap().V1alpha1().CompactBackups()
Expand Down

0 comments on commit 101c5cc

Please sign in to comment.