From 10819fa7039a29ff8553b1eae282bb31c5e5dfe8 Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Thu, 11 Apr 2024 15:27:17 +1000 Subject: [PATCH] fix lint --- backend/controller/dal/dal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/controller/dal/dal.go b/backend/controller/dal/dal.go index 813762dd49..98532934f3 100644 --- a/backend/controller/dal/dal.go +++ b/backend/controller/dal/dal.go @@ -972,7 +972,7 @@ func (d *DAL) StartCronJobs(ctx context.Context, jobs []CronJob) (attemptedJobs return nil, translatePGError(err) } - attemptedJobs = make([]AttemptedCronJob, len(rows)) + attemptedJobs = []AttemptedCronJob{} for _, row := range rows { job := AttemptedCronJob{ CronJob: CronJob{