[linear2] fix mitogen_shutdown_all service context access
This commit is contained in:
parent
9e1faa7927
commit
a39169ff16
|
@ -23,9 +23,10 @@ class ActionModule(ActionBase):
|
|||
}
|
||||
|
||||
self._connection._connect()
|
||||
binding = self._connection.get_binding()
|
||||
return {
|
||||
'changed': True,
|
||||
'result': self._connection.parent.call_service(
|
||||
'result': binding.get_service_context().call_service(
|
||||
service_name='ansible_mitogen.services.ContextService',
|
||||
method_name='shutdown_all',
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue