machine: rename supervisord provider

This is a cli providers, so rename it to supervisord_cli.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2023-02-08 05:36:57 -05:00
parent d9579c9374
commit b02224485e
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
1 changed files with 2 additions and 2 deletions

View File

@ -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", "")