1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 20:35:55 +00:00

Fix typo in logger method name (#2069)

This commit is contained in:
Iulian Onofrei
2020-09-19 04:11:52 +03:00
committed by GitHub
parent 13c7ce6a0a
commit 8deb1cf2e6
2 changed files with 3 additions and 3 deletions

View File

@@ -339,7 +339,7 @@ class DockerInterface(CoreSysAttributes):
try:
images_list = self.sys_docker.images.list(name=self.image)
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
for image in images_list:
@@ -357,7 +357,7 @@ class DockerInterface(CoreSysAttributes):
try:
images_list = self.sys_docker.images.list(name=old_image)
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
for image in images_list:

View File

@@ -103,4 +103,4 @@ class HostManager(CoreSysAttributes):
try:
await self.apparmor.load()
except HassioError as err:
_LOGGER.waring("Load host AppArmor on start failed: %s", err)
_LOGGER.warning("Load host AppArmor on start failed: %s", err)