machine: fix typo in service restart handler

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine committed 2021-01-28 07:35:33 -05:00
1 parent e8776a5d85
commit 49c5583e95
1 file changed
+1 -1
+1 -1
View File
@@ -49,7 +49,7 @@ class Machine:
elif name == "moonraker":
IOLoop.current().spawn_callback(self.restart_service, name)
else:
raise self.sever.error(
raise self.server.error(
f"Invalid argument recevied for 'name': {name}")
return "ok"