mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
chore: enable exhaustruct linter for database param structs (#9995)
This commit is contained in:
@ -8,6 +8,7 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/google/uuid"
|
||||
"github.com/lib/pq"
|
||||
@ -350,6 +351,8 @@ func (b *Builder) buildTx(authFunc func(action rbac.Action, object rbac.Objecter
|
||||
Transition: b.trans,
|
||||
JobID: provisionerJob.ID,
|
||||
Reason: b.reason,
|
||||
Deadline: time.Time{}, // set by provisioner upon completion
|
||||
MaxDeadline: time.Time{}, // set by provisioner upon completion
|
||||
})
|
||||
if err != nil {
|
||||
return BuildError{http.StatusInternalServerError, "insert workspace build", err}
|
||||
|
Reference in New Issue
Block a user