Addon methods interfacing with docker are job groups (#4659)

* Addon methods interfacing with docker are job groups

* Add test for install
This commit is contained in:
Mike Degatano
2023-11-02 06:28:48 -04:00
committed by GitHub
parent 18e422ca77
commit 31200df89f
10 changed files with 291 additions and 187 deletions

View File

@@ -103,7 +103,7 @@ class Tasks(CoreSysAttributes):
# avoid issue on slow IO
_LOGGER.info("Add-on auto update process %s", addon.slug)
try:
if start_task := await addon.update(backup=True):
if start_task := await self.sys_addons.update(addon.slug, backup=True):
start_tasks.append(start_task)
except AddonsError:
_LOGGER.error("Can't auto update Add-on %s", addon.slug)