Commit 33963386 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: drop source_administration on Compute Node

parent b74a9297
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