update_manager: return True when on update success

All calls to update now return a boolean value.  When performing a full upate this return value is used to
check if Moonraker should wait for Klippy to reconnect.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan
2021-07-08 07:50:08 -04:00
parent b6cd19d6ef
commit d76abe019f
4 changed files with 31 additions and 25 deletions

View File

@@ -32,8 +32,8 @@ class BaseDeploy:
async def refresh(self) -> None:
pass
async def update(self) -> None:
pass
async def update(self) -> bool:
return False
def get_update_status(self) -> Dict[str, Any]:
return {}