Commit 4c984339 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

slapos_slap_tool: Fix call to compute partition getSoftwareInstance

parent 517c646b
......@@ -1044,7 +1044,7 @@ class SlapTool(BaseTool):
compute_partition_id, slave_reference=None):
compute_partition_document = self.getPortalObject().portal_catalog.getComputePartitionObject(
compute_node_id, compute_partition_id)
return compute_partition_document._getSoftwareInstance(slave_reference)
return compute_partition_document.getSoftwareInstance(slave_reference)
@convertToREST
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