Skip to content

Commit

Permalink
Fix SA20 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed May 30, 2024
1 parent 4dda05f commit 534f933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/jobs/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ def __cache_total_job_count_per_destination(self):
.where(and_(model.Job.table.c.state.in_((model.Job.states.QUEUED, model.Job.states.RUNNING))))
.group_by(model.Job.table.c.destination_id)
)
for row in result:
for row in result.mappings():
self.total_job_count_per_destination[row["destination_id"]] = row["job_count"]

def get_total_job_count_per_destination(self):
Expand Down

0 comments on commit 534f933

Please sign in to comment.