generalize trigger kinds

This commit is contained in:
Christian Schwarz
2023-12-22 14:40:53 +00:00
parent b0caa2d151
commit c8afaf83ab
13 changed files with 168 additions and 57 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ type Cron struct {
wakeupWhileRunningCount int
}
func (s *Cron) Run(ctx context.Context, snapshotsTaken *trigger.Trigger) {
func (s *Cron) Run(ctx context.Context, snapshotsTaken trigger.Trigger) {
for {
now := time.Now()