config: Minor update to privileged method signature

Tests:

- Setting logging method works.

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 2022-10-08 18:51:27 -04:00
1 parent d7a60b1aca
commit b29182a0eb
1 file changed
+1 -1
+1 -1
View File
@@ -34,7 +34,7 @@ def get_logging_mode() -> str:
@privileged
def set_logging_mode(mode: str) -> None:
def set_logging_mode(mode: str):
"""Set the current logging mode."""
if mode not in ('volatile', 'persistent', 'none'):
raise ValueError('Invalid mode')