*: Use the App's state management API

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2021-12-04 16:37:40 -05:00
1 parent 78b08758a3
commit b609abe7e5
23 files changed
+83 -96

No files matched your search

+1 -1
View File
@@ -145,7 +145,7 @@ def get_apps_report():
services.append(component.unit)
# filter out apps not setup yet
if module.setup_helper.get_state() == 'needs-setup':
if module.app.needs_setup():
continue
apps[module_name] = {