Commit 17f8e43e authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Romain Courteaud

slapos_cloud: Software Instance data schema include retention delay

parent 75951547
......@@ -345,6 +345,7 @@ class SoftwareInstance(Item, JSONType):
"software_type": self.getSourceReference().decode("UTF-8"),
"compute_node_id": parameter_dict.get("slap_computer_id"),
"compute_partition_id": parameter_dict.get("slap_computer_partition_id"),
"sla_parameters": self.getSlaXmlAsDict(),
}
result.update(parameter_dict)
return json.dumps(result, indent=2)
......
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