Skip to content

Commit b9921c0

Browse files
committed
feat(update_manager): add path field to update status API response
Add the local filesystem path to AppDeploy.get_update_status(). This propagates to all deployer types (git_repo, web, zip, python) via super().get_update_status(). Clients that need to interact with managed repos on disk currently must parse moonraker.conf as a workaround since the API omits this required config field.
1 parent 9e6eeea commit b9921c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

moonraker/components/update_manager/app_deploy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,8 @@ def get_update_status(self) -> Dict[str, Any]:
325325
'channel_invalid': self.channel_invalid,
326326
'is_valid': self._is_valid,
327327
'configured_type': str(self.type),
328-
'info_tags': self.info_tags
328+
'info_tags': self.info_tags,
329+
'path': str(self.path)
329330
}
330331

331332
def get_persistent_data(self) -> Dict[str, Any]:

0 commit comments

Comments
 (0)