more notes, strategy plugin is being called but Mitogen's method overrides aren't being triggered

pull/715/head
Steven Robertson 4 years ago
parent ca4e8116b7
commit 6ba08097b6

@ -828,6 +828,7 @@ class Connection(ansible.plugins.connection.ConnectionBase):
process to establish the real connection on our behalf, or return a process to establish the real connection on our behalf, or return a
reference to the existing one. reference to the existing one.
""" """
import epdb; epdb.set_trace()
if self.connected: if self.connected:
return return

@ -165,6 +165,8 @@ def wrap_connection_loader__get(name, *args, **kwargs):
While a Mitogen strategy is active, rewrite connection_loader.get() calls While a Mitogen strategy is active, rewrite connection_loader.get() calls
for some transports into requests for a compatible Mitogen transport. for some transports into requests for a compatible Mitogen transport.
""" """
# THIS ISN'T BEING CALLED NOW
import epdb; epdb.set_trace()
if name in REDIRECTED_CONNECTION_PLUGINS: if name in REDIRECTED_CONNECTION_PLUGINS:
name = 'mitogen_' + name name = 'mitogen_' + name

Loading…
Cancel
Save