mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-28 03:26:32 +00:00
Fix typo in logger method name (#2069)
This commit is contained in:
parent
13c7ce6a0a
commit
8deb1cf2e6
@ -339,7 +339,7 @@ class DockerInterface(CoreSysAttributes):
|
|||||||
try:
|
try:
|
||||||
images_list = self.sys_docker.images.list(name=self.image)
|
images_list = self.sys_docker.images.list(name=self.image)
|
||||||
except (docker.errors.DockerException, requests.RequestException) as err:
|
except (docker.errors.DockerException, requests.RequestException) as err:
|
||||||
_LOGGER.waring("Corrupt docker overlayfs found: %s", err)
|
_LOGGER.warning("Corrupt docker overlayfs found: %s", err)
|
||||||
raise DockerError() from err
|
raise DockerError() from err
|
||||||
|
|
||||||
for image in images_list:
|
for image in images_list:
|
||||||
@ -357,7 +357,7 @@ class DockerInterface(CoreSysAttributes):
|
|||||||
try:
|
try:
|
||||||
images_list = self.sys_docker.images.list(name=old_image)
|
images_list = self.sys_docker.images.list(name=old_image)
|
||||||
except (docker.errors.DockerException, requests.RequestException) as err:
|
except (docker.errors.DockerException, requests.RequestException) as err:
|
||||||
_LOGGER.waring("Corrupt docker overlayfs found: %s", err)
|
_LOGGER.warning("Corrupt docker overlayfs found: %s", err)
|
||||||
raise DockerError() from err
|
raise DockerError() from err
|
||||||
|
|
||||||
for image in images_list:
|
for image in images_list:
|
||||||
|
@ -103,4 +103,4 @@ class HostManager(CoreSysAttributes):
|
|||||||
try:
|
try:
|
||||||
await self.apparmor.load()
|
await self.apparmor.load()
|
||||||
except HassioError as err:
|
except HassioError as err:
|
||||||
_LOGGER.waring("Load host AppArmor on start failed: %s", err)
|
_LOGGER.warning("Load host AppArmor on start failed: %s", err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user