Skip to content

Commit

Permalink
Workaround apps without a label
Browse files Browse the repository at this point in the history
Should get rid of zamentur#4
  • Loading branch information
olberger committed Jan 5, 2023
1 parent 9200895 commit 7fcda6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion yunomonitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,10 +783,12 @@ def generate_monitoring_config():
app = {
"id": app_settings['id'],
"name": app_manifest['name'],
"label": app_settings['label'],
"label": 'unspecified label',
"uris": uris,
"services": []
}
if 'label' in app_settings:
app["label"] = app_settings['label']
if 'services' in app_manifest:
app["services"] = app_manifest['services']
if app['name'] in ["Borg", "Archivist"]:
Expand Down

0 comments on commit 7fcda6a

Please sign in to comment.