Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Workaround apps without a label #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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