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:
@@ -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 {}
|
||||
|
Reference in New Issue
Block a user