Commit c3922f77 authored by Rafael Monnerat's avatar Rafael Monnerat

Fixup! (typo) slapos_jio: Query directly the catalog to speed up

parent 6af6de17
...@@ -34,7 +34,7 @@ if portal_type in ["Instance Tree", "Compute Node"]: ...@@ -34,7 +34,7 @@ if portal_type in ["Instance Tree", "Compute Node"]:
for ticket in portal.portal_catalog( for ticket in portal.portal_catalog(
portal_type="Upgrade Decision", portal_type="Upgrade Decision",
simulation_state="confirmed", simulation_state="confirmed",
chield_aggregate_relative_url=context.getUid(), child_aggregate_relative_url=context.getUid(),
limit=1): limit=1):
entry = addAttentionForTicket(ticket) entry = addAttentionForTicket(ticket)
if entry is not None: if entry is not None:
......
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