Commit 30eda1d2 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Titouan Soulard

slapgrid: get Partition before processing it in report

parent 8f274e60
......@@ -2054,6 +2054,12 @@ stderr_logfile_backups=1
# Try to process it anyway, it may need to be deleted.
software_path = None
if not self.api_backward_compatibility:
computer_partition = self.slap.jio_api_connector.get({
"portal_type": "Software Instance",
"reference": computer_partition["reference"]
})
local_partition = Partition(
software_path=software_path,
instance_path=os.path.join(self.instance_root,
......
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