Commit ab5ebb91 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

fix: bad key was letting only the last cube getting stored

parent 551cc3b19357
...@@ -44,7 +44,7 @@ for cube in all_cubes: ...@@ -44,7 +44,7 @@ for cube in all_cubes:
merge_request["pipeline"] = pipelines[0] if pipelines else None merge_request["pipeline"] = pipelines[0] if pipelines else None
merge_requests.append(merge_request) merge_requests.append(merge_request)
context["cubes"][project.name] = { context["cubes"][cube.name] = {
"cube": cube.attributes, "cube": cube.attributes,
"merge_requests": merge_requests, "merge_requests": merge_requests,
"labels": {x.name: x.attributes for x in project.labels.list(all=True)} "labels": {x.name: x.attributes for x in project.labels.list(all=True)}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment