fixes import statement in nxos_facts module (#21834)

trying to import from the wrong shared lib, this patch changes
network_common to connection.  Also fixes a bug found in the nxos
action plugin to detect transport

fixes #21829
This commit is contained in:
Peter Sprygada 2017-02-23 08:00:34 -05:00 committed by John R Barker
commit ab0f992b3a
2 changed files with 4 additions and 2 deletions

View file

@ -181,7 +181,7 @@ import re
from ansible.module_utils.nxos import run_commands
from ansible.module_utils.nxos import nxos_argument_spec, check_args
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.network_common import exec_command
from ansible.module_utils.connection import exec_command
from ansible.module_utils.six import iteritems