machine: fix typo in service restart handler

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2021-01-28 07:35:33 -05:00
parent e8776a5d85
commit 49c5583e95
1 changed files with 1 additions and 1 deletions

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"