mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-07 17:26:32 +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
|
||||
def meta_labels(self):
|
||||
"""Return meta data of labels for container/image."""
|
||||
return self.meta_config.get('Labels', {})
|
||||
return self.meta_config.get('Labels') or {}
|
||||
|
||||
@property
|
||||
def image(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user