Commit 349e2a6d authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Cédric Le Ninivin

slapos_cloud: add missing portal type in Software Installation asJSONText

parent eaa6c421
...@@ -71,6 +71,7 @@ class SoftwareInstallation(Item, JSONType): ...@@ -71,6 +71,7 @@ class SoftwareInstallation(Item, JSONType):
"state": state, "state": state,
"reported_state": status_dict.get("state"), "reported_state": status_dict.get("state"),
"status_message": status_dict.get("text"), "status_message": status_dict.get("text"),
"portal_type": "Software Installation",
} }
web_section = self.getWebSectionValue() web_section = self.getWebSectionValue()
web_section = web_section.getRelativeUrl() if web_section else self.REQUEST.get("web_section_relative_url", None) web_section = web_section.getRelativeUrl() if web_section else self.REQUEST.get("web_section_relative_url", None)
......
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