Skip to content

Commit

Permalink
chore: review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
atzoum committed Nov 21, 2022
1 parent 89981a2 commit 329e635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobsdb/readonly_jobsdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ func (jd *ReadonlyHandleT) GetJobByID(job_id, _ string) (string, error) {
job_latest_state.error_code, job_latest_state.error_response
FROM
%[1]s
LEFT JOIN "%[2]s" job_latest_state ON %[1]s.job_id=job_latest_state.job_id
LEFT JOIN "v_last_%[2]s" job_latest_state ON %[1]s.job_id=job_latest_state.job_id
WHERE %[1]s.job_id = %[3]s;`, dsPair.JobTable, dsPair.JobStatusTable, job_id)

event := JobT{}
Expand Down

0 comments on commit 329e635

Please sign in to comment.