chore: enable exhaustruct linter for database param structs (#9995)

This commit is contained in:
Cian Johnston
2023-10-03 09:23:45 +01:00
committed by GitHub
parent 352ec7bc4f
commit e55c25e037
17 changed files with 186 additions and 116 deletions

View File

@ -273,7 +273,12 @@ func unhangJob(ctx context.Context, log slog.Logger, db database.Store, pub pubs
// Insert the messages into the build log.
insertParams := database.InsertProvisionerJobLogsParams{
JobID: job.ID,
JobID: job.ID,
CreatedAt: nil,
Source: nil,
Level: nil,
Stage: nil,
Output: nil,
}
now := dbtime.Now()
for i, msg := range HungJobLogMessages {