Fix bug with job columns

This commit is contained in:
2025-05-26 13:26:18 +02:00
parent f14bdb3068
commit 8d6ae85b0d
3 changed files with 19 additions and 14 deletions

View File

@@ -48,7 +48,7 @@ func (r *JobRepository) FindCached(
cluster *string,
startTime *int64,
) (*schema.Job, error) {
q := sq.Select(jobColumns...).From("job_cache").
q := sq.Select(jobCacheColumns...).From("job_cache").
Where("job_cache.job_id = ?", *jobId)
if cluster != nil {