added note about breaking backwards compat

pull/715/head
Steven Robertson 4 years ago
parent 1d13df718a
commit f1bdc39047

@ -59,4 +59,6 @@ except ImportError: # Ansible <2.4
# These are original, unwrapped implementations
action_loader__get = action_loader.get
# NOTE: this used to be `connection_loader.get`; breaking change unless we do a hack based on
# ansible version again
connection_loader__get = connection_loader.get_with_context

@ -220,6 +220,8 @@ class AnsibleWrappers(object):
with references to the real functions.
"""
ansible_mitogen.loaders.action_loader.get = wrap_action_loader__get
# NOTE: this used to be `connection_loader.get`; breaking change unless we do a hack based on
# ansible version again
ansible_mitogen.loaders.connection_loader.get_with_context = wrap_connection_loader__get
global worker__run

Loading…
Cancel
Save