Inline jobstate literal in query

Entire-Checkpoint: 35f06df74b51
This commit is contained in:
2026-03-13 15:16:07 +01:00
parent df2a13def2
commit f15f1452cc
2 changed files with 2 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ func (r *JobRepository) buildCountQuery(
switch kind {
case "running":
query = query.Where("job.job_state = ?", "running")
query = query.Where("job.job_state = 'running'")
case "short":
query = query.Where("job.duration < ?", config.Keys.ShortRunningJobsDuration)
}