From b02224485ed63a94643c2f73750cb7587d2a2cf5 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Wed, 8 Feb 2023 05:36:57 -0500 Subject: [PATCH] machine: rename supervisord provider This is a cli providers, so rename it to supervisord_cli. Signed-off-by: Eric Callahan --- moonraker/components/machine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moonraker/components/machine.py b/moonraker/components/machine.py index b95bfcb..32cf8b5 100644 --- a/moonraker/components/machine.py +++ b/moonraker/components/machine.py @@ -118,7 +118,7 @@ class Machine: "none": BaseProvider, "systemd_cli": SystemdCliProvider, "systemd_dbus": SystemdDbusProvider, - "supervisord": SupervisordProvider + "supervisord_cli": SupervisordCliProvider } self.provider_type = config.get('provider', 'systemd_dbus') pclass = providers.get(self.provider_type) @@ -1231,7 +1231,7 @@ class SystemdDbusProvider(BaseProvider): # for docker klipper-moonraker image multi-service managing # since in container, all command is launched by normal user, # sudo_cmd is not needed. -class SupervisordProvider(BaseProvider): +class SupervisordCliProvider(BaseProvider): def __init__(self, config: ConfigHelper) -> None: super().__init__(config) self.spv_conf: str = config.get("supervisord_config_path", "")