Commit 12123bce authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Titouan Soulard

slapos_slap_tool: Fix call to compute partition getSoftwareInstance

parent ced81feb
...@@ -1142,7 +1142,7 @@ class SlapTool(BaseTool): ...@@ -1142,7 +1142,7 @@ class SlapTool(BaseTool):
compute_partition_id, slave_reference=None): compute_partition_id, slave_reference=None):
compute_partition_document = self.getPortalObject().portal_catalog.getComputePartitionObject( compute_partition_document = self.getPortalObject().portal_catalog.getComputePartitionObject(
compute_node_id, compute_partition_id) compute_node_id, compute_partition_id)
return compute_partition_document._getSoftwareInstance(slave_reference) return compute_partition_document.getSoftwareInstance(slave_reference)
@convertToREST @convertToREST
def _softwareReleaseError(self, url, compute_node_id, error_log): def _softwareReleaseError(self, url, compute_node_id, error_log):
......
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