Commit ed93a8b4 authored by Romain Courteaud's avatar Romain Courteaud

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

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