mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-09 10:59:43 +00:00
Add better log output for repair (#1191)
This commit is contained in:
@@ -172,6 +172,7 @@ class HassIO(CoreSysAttributes):
|
||||
|
||||
async def repair(self):
|
||||
"""Repair system integrity."""
|
||||
_LOGGER.info("Start repairing of Hass.io Environment")
|
||||
await self.sys_run_in_executor(self.sys_docker.repair)
|
||||
|
||||
# Restore core functionality
|
||||
@@ -184,3 +185,4 @@ class HassIO(CoreSysAttributes):
|
||||
|
||||
# Tag version for latest
|
||||
await self.sys_supervisor.repair()
|
||||
_LOGGER.info("Finished repairing of Hass.io Environment")
|
||||
|
||||
Reference in New Issue
Block a user