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

This commit is contained in:
Steven Robertson 2020-08-23 00:15:29 -07:00
parent ca4e8116b7
commit 6ba08097b6
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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