Merged PR 493: Update dev with all 3.2 updates

Related work items: #2625
This commit is contained in:
Marek Wolan
2024-08-02 12:46:12 +00:00
9 changed files with 159 additions and 260 deletions

View File

@@ -978,7 +978,7 @@ class Node(SimComponent):
application_name = request[0]
if self.software_manager.software.get(application_name):
self.sys_log.warning(f"Can't install {application_name}. It's already installed.")
return RequestResponse.from_bool(False)
return RequestResponse(status="success", data={"reason": "already installed"})
application_class = Application._application_registry[application_name]
self.software_manager.install(application_class)
application_instance = self.software_manager.software.get(application_name)