fix bug in the stop_daemon method
This commit is contained in:
parent
1b6d92c778
commit
e0671a0daa
@ -686,7 +686,7 @@ class WebApi(JSONComponent):
|
|||||||
:type host_id: string
|
:type host_id: string
|
||||||
"""
|
"""
|
||||||
main_deferred = Deferred()
|
main_deferred = Deferred()
|
||||||
host = self.get_host(connection_id)
|
host = self.get_host(host_id)
|
||||||
if not host:
|
if not host:
|
||||||
main_deferred.callback((False, _("Daemon doesn't exist")))
|
main_deferred.callback((False, _("Daemon doesn't exist")))
|
||||||
return main_deferred
|
return main_deferred
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user