This commit is contained in:
Christian Schwarz
2024-05-09 13:25:31 +00:00
parent c8afaf83ab
commit beecb4b93d
6 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ func (j *SnapJob) Run(ctx context.Context) {
go j.snapper.Run(periodicCtx, snapshottingTrigger)
triggers := trigger.Empty()
triggered, endTask := triggers.Spawn(ctx, []trigger.TriggersnapshottingTrigger, wakeupTrigger})
triggered, endTask := triggers.Spawn(ctx, []trigger.Trigger{snapshottingTrigger, wakeupTrigger})
defer endTask()
invocationCount := 0