bundles/octoprint: don't try to resolve faults in metadata.py
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
15826c73b0
commit
22d5ba12ee
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ defaults = {
|
|||
|
||||
@metadata_reactor
|
||||
def icinga(metadata):
|
||||
if not metadata.get('octoprint/api_key', None):
|
||||
if 'api_key' not in metadata.get('octoprint', {}):
|
||||
return {}
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue