Commit 40fe91cf authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Cédric Le Ninivin

slapos_slap_tool: Fix call to compute partition getSoftwareInstance

parent 1aac8bf6
...@@ -1096,7 +1096,7 @@ class SlapTool(BaseTool): ...@@ -1096,7 +1096,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