Chore: actions methods rename
This commit is contained in:
@ -121,7 +121,7 @@ func (cm *CronManager) CleanupActions() {
|
||||
}
|
||||
}()
|
||||
|
||||
if err := cm.repo.ActionsDeleteOrphaned(ctx); err != nil {
|
||||
if err := cm.repo.ActionDeleteOrphaned(ctx); err != nil {
|
||||
cm.log.Error("failed to delete orphaned actions", "err", err)
|
||||
if err := tx.Rollback(); err != nil {
|
||||
cm.log.Error("failed to rollback transaction for actions cleanup", "err", err)
|
||||
@ -133,4 +133,3 @@ func (cm *CronManager) CleanupActions() {
|
||||
cm.log.Error("failed to commit transaction for actions cleanup", "err", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user