mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
service: Remove reference to managed_services in a message
Closes: #2337. Tests: - Update code to stop/start a daemon that is not listed in any Daemon/RelatedDaemon component of an app. Notice the message show. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
8b7c0fb0bf
commit
c8a8d4bf33
@ -113,6 +113,6 @@ def _assert_service_is_managed_by_plinth(service_name):
|
||||
managed_services = _get_managed_services()
|
||||
if service_name not in managed_services:
|
||||
msg = ("The service '%s' is not managed by FreedomBox. Access is only "
|
||||
"permitted for services listed in the 'managed_services' "
|
||||
"variable of any FreedomBox app.") % service_name
|
||||
"permitted for services listed in the Daemon and RelatedDaemon "
|
||||
"components of any FreedomBox app.") % service_name
|
||||
raise ValueError(msg)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user