Skip to content

Commit 002c15d

Browse files
committed
Passing jobs directly
1 parent 0f45147 commit 002c15d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/actions/run.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ func InsertRun(ctx context.Context, run *ActionRun, jobs []*jobparser.SingleWork
306306
}
307307

308308
func DeleteRunJobs(ctx context.Context, jobs []*ActionRunJob) error {
309-
return db.DeleteBeans(ctx, jobs...)
309+
return db.DeleteBeans(ctx, jobs)
310310
}
311311

312312
func DeleteRun(ctx context.Context, run *ActionRun) error {

0 commit comments

Comments
 (0)