Commit 860b25ad authored by Romain Courteaud's avatar Romain Courteaud

slapos_jio: allocation_scope/open/public and friend do not exist anymore

parent 7446ffef
portal = context.getPortalObject() portal = context.getPortalObject()
category_public = portal.restrictedTraverse("portal_categories/allocation_scope/open/public", None)
return portal.portal_catalog( return portal.portal_catalog(
portal_type='Compute Node', portal_type='Compute Node',
default_allocation_scope_uid=[ default_allocation_scope_uid=[
category_public.getUid(), portal.restrictedTraverse("portal_categories/allocation_scope/open").getUid()
], ],
validation_state="validated", validation_state="validated",
sort_on=(("title", "ASC" ),) sort_on=(("title", "ASC" ),)
......
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