From b86a6d292f3173332d7d4ba969feba61ae024d10 Mon Sep 17 00:00:00 2001 From: Mike Degatano Date: Wed, 31 May 2023 10:50:28 -0400 Subject: [PATCH] Null check for meta in meta_mounts (#4326) --- supervisor/docker/interface.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/supervisor/docker/interface.py b/supervisor/docker/interface.py index 1db7a63db..25aacbdb1 100644 --- a/supervisor/docker/interface.py +++ b/supervisor/docker/interface.py @@ -114,6 +114,8 @@ class DockerInterface(CoreSysAttributes): @property def meta_mounts(self) -> list[dict[str, Any]]: """Return meta data of mounts for container/image.""" + if not self._meta: + return [] return self._meta.get("Mounts", []) @property