Commit 91d87155 authored by Rafael Monnerat's avatar Rafael Monnerat

Fixup! erp5.util: Update the SlapOS API

parent c281ca18
......@@ -145,7 +145,7 @@ class SlapOSMasterCommunicator(object):
return SOFTWARE_STATE_INSTALLED
message = self.hateoas_navigator.getSoftwareInstallationNews(
computer_guid=computer_guid, self.url)
computer_guid, self.url)
logger.info(message)
if message.startswith("#error no data found"):
return SOFTWARE_STATE_UNKNOWN
......@@ -227,7 +227,7 @@ class SlapOSMasterCommunicator(object):
monitor_information_dict = {"message": "Unable to download"}
instance["connection_dict"] = instance["getConnectionXmlAsDict"]
instance["parameter_dict"] = xml2dict(instance["text_content"]))
instance["parameter_dict"] = xml2dict(instance["text_content"])
message_list.append({
'title': instance["title"],
'slave': is_slave,
......
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