Skip to content

Commit a39169f

Browse files
committed
[linear2] fix mitogen_shutdown_all service context access
1 parent 9e1faa7 commit a39169f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/ansible/lib/action/mitogen_shutdown_all.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ def run(self, tmp=None, task_vars=None):
2323
}
2424

2525
self._connection._connect()
26+
binding = self._connection.get_binding()
2627
return {
2728
'changed': True,
28-
'result': self._connection.parent.call_service(
29+
'result': binding.get_service_context().call_service(
2930
service_name='ansible_mitogen.services.ContextService',
3031
method_name='shutdown_all',
3132
)

0 commit comments

Comments
 (0)