mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-27 02:56:31 +00:00
Restore repositories with partial snapshot (#1641)
* Restore repositories with partial snapshot * Run black
This commit is contained in:
parent
c3f5ee43b6
commit
ce84e185ad
@ -310,6 +310,9 @@ class SnapshotManager(CoreSysAttributes):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if addons:
|
if addons:
|
||||||
|
_LOGGER.info("Restore %s run Repositories", snapshot.slug)
|
||||||
|
await snapshot.restore_repositories()
|
||||||
|
|
||||||
_LOGGER.info("Restore %s old add-ons", snapshot.slug)
|
_LOGGER.info("Restore %s old add-ons", snapshot.slug)
|
||||||
await snapshot.restore_addons(addons)
|
await snapshot.restore_addons(addons)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user