Chore: actions methods rename

This commit is contained in:
Grail Finder
2025-07-04 14:30:13 +03:00
parent 705881f1ea
commit 2a2bf4e23d
5 changed files with 23 additions and 20 deletions

View File

@ -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)
}
}