Commit fd42bcaf authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: drop source_administration on Compute Node

parent 551dc87d
compute_node = state_change['object'] compute_node = state_change['object']
portal = compute_node.getPortalObject() portal = compute_node.getPortalObject()
person = portal.portal_membership.getAuthenticatedMember().getUserValue()
compute_node.edit( compute_node.edit(
source_administration_value=person,
upgrade_scope='auto', upgrade_scope='auto',
capacity_scope='open' capacity_scope='open'
) )
......
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