Restore repositories with partial snapshot (#1641)

* Restore repositories with partial snapshot

* Run black
This commit is contained in:
Joakim Sørensen 2020-04-08 13:44:03 +02:00 committed by GitHub
parent c3f5ee43b6
commit ce84e185ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -310,6 +310,9 @@ class SnapshotManager(CoreSysAttributes):
)
if addons:
_LOGGER.info("Restore %s run Repositories", snapshot.slug)
await snapshot.restore_repositories()
_LOGGER.info("Restore %s old add-ons", snapshot.slug)
await snapshot.restore_addons(addons)