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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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)