machine: fix typo in service restart handler
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
e8776a5d85
commit
49c5583e95
|
@ -49,7 +49,7 @@ class Machine:
|
||||||
elif name == "moonraker":
|
elif name == "moonraker":
|
||||||
IOLoop.current().spawn_callback(self.restart_service, name)
|
IOLoop.current().spawn_callback(self.restart_service, name)
|
||||||
else:
|
else:
|
||||||
raise self.sever.error(
|
raise self.server.error(
|
||||||
f"Invalid argument recevied for 'name': {name}")
|
f"Invalid argument recevied for 'name': {name}")
|
||||||
return "ok"
|
return "ok"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue