Commit 6e448d7c authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: slap_tool api requires reference on Remote Partition

parent cedfb911
......@@ -15,7 +15,7 @@ remote_node = portal.compute_node_module.newContent(
for i in range(partition_amount):
computer_partition = remote_node.newContent(
portal_type="Compute Partition",
title="slapremote%i" % i
reference="slapremote%i" % i
)
computer_partition.markFree()
computer_partition.validate()
......
......@@ -35,7 +35,7 @@ if instance.getPortalType() == 'Slave Instance':
elif instance.getPortalType() == 'Software Instance':
new_partition = remote_node.newContent(
portal_type="Compute Partition",
title="slapmigration",
reference="slapmigration",
)
new_partition.markFree()
new_partition.validate()
......
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