mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-08 17:56:33 +00:00
Fix not exists label bug (#717)
This commit is contained in:
parent
2f4e114f25
commit
f2a5512bbf
@ -42,7 +42,7 @@ class DockerInterface(CoreSysAttributes):
|
|||||||
@property
|
@property
|
||||||
def meta_labels(self):
|
def meta_labels(self):
|
||||||
"""Return meta data of labels for container/image."""
|
"""Return meta data of labels for container/image."""
|
||||||
return self.meta_config.get('Labels', {})
|
return self.meta_config.get('Labels') or {}
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def image(self):
|
def image(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user