Commit 32ecbfd4 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Fixup catalog call

See merge request nexedi/slapos.core!536
parents b721dfa0 4557b2fa
Pipeline #28424 failed with stage
in 0 seconds
...@@ -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",
child_aggregate_relative_url=context.getUid(), child_aggregate_relative_url=context.getRelativeUrl(),
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