Commit da2239b4 authored by Romain Courteaud's avatar Romain Courteaud

slapos_subscription_request: fixup project migration

parent aab845bb
...@@ -82,6 +82,8 @@ elif subscribed_item.getPortalType() == 'Compute Node': ...@@ -82,6 +82,8 @@ elif subscribed_item.getPortalType() == 'Compute Node':
pass pass
elif subscribed_item.getPortalType() == 'Instance Tree': elif subscribed_item.getPortalType() == 'Instance Tree':
subscribed_item.edit(destination_section=subscription_change_request.getDestination()) subscribed_item.edit(destination_section=subscription_change_request.getDestination())
elif subscribed_item.getPortalType() == 'Project':
subscribed_item.edit(destination=subscription_change_request.getDestination())
else: else:
raise NotImplementedError('Not implemented subscribed item') raise NotImplementedError('Not implemented subscribed item')
......
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