mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-25 18:16:32 +00:00
Fix uninstall of add-on on fixup (#5142)
This commit is contained in:
parent
4829eb8ae1
commit
b0cdb91d5e
@ -26,7 +26,7 @@ class FixupAddonExecuteRemove(FixupBase):
|
|||||||
# Remove addon
|
# Remove addon
|
||||||
_LOGGER.info("Remove addon: %s", reference)
|
_LOGGER.info("Remove addon: %s", reference)
|
||||||
try:
|
try:
|
||||||
await addon.uninstall()
|
await addon.uninstall(remove_config=False)
|
||||||
except AddonsError as err:
|
except AddonsError as err:
|
||||||
_LOGGER.error("Could not remove %s due to %s", reference, err)
|
_LOGGER.error("Could not remove %s due to %s", reference, err)
|
||||||
raise ResolutionFixupError() from None
|
raise ResolutionFixupError() from None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user