From 8deb1cf2e617f49269192ee02db6aebe4b915b42 Mon Sep 17 00:00:00 2001 From: Iulian Onofrei <6d0847b9@opayq.com> Date: Sat, 19 Sep 2020 04:11:52 +0300 Subject: [PATCH] Fix typo in logger method name (#2069) --- supervisor/docker/interface.py | 4 ++-- supervisor/host/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/supervisor/docker/interface.py b/supervisor/docker/interface.py index ee86dd772..7b87742e7 100644 --- a/supervisor/docker/interface.py +++ b/supervisor/docker/interface.py @@ -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: diff --git a/supervisor/host/__init__.py b/supervisor/host/__init__.py index 933ef6b63..d49b6a9c0 100644 --- a/supervisor/host/__init__.py +++ b/supervisor/host/__init__.py @@ -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)