bundles/octoprint: don't try to resolve faults in metadata.py
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-11-22 09:07:28 +01:00
parent 15826c73b0
commit 22d5ba12ee
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -22,7 +22,7 @@ defaults = {
@metadata_reactor @metadata_reactor
def icinga(metadata): def icinga(metadata):
if not metadata.get('octoprint/api_key', None): if 'api_key' not in metadata.get('octoprint', {}):
return {} return {}
return { return {