Skip to content

Commit

Permalink
ISSUE-142
Browse files Browse the repository at this point in the history
Quay graphs
  • Loading branch information
MVarshini committed Dec 13, 2024
1 parent d3f6924 commit 82a8ea4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/app/api/v1/endpoints/ocp/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ async def results_for_job(
es = ElasticService(configpath="ocp.elasticsearch")
response = await es.post(query=query)
await es.close()
tasks = [item["_source"] for item in response]
tasks = [item["_source"] for item in response["data"]]
return tasks
2 changes: 1 addition & 1 deletion backend/app/api/v1/endpoints/quay/quayGraphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ async def getMatchRuns(meta: dict):
es = ElasticService(configpath="quay.elasticsearch")
response = await es.post(query=query)
await es.close()
runs = [item["_source"] for item in response]
runs = [item["_source"] for item in response["data"]]
uuids = []
for run in runs:
uuids.append(run["uuid"])
Expand Down

0 comments on commit 82a8ea4

Please sign in to comment.