1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
This commit is contained in:
Peter Sprygada 2016-04-04 15:59:38 -04:00
parent c75b5ba85f
commit 73c3f35112

View file

@ -71,7 +71,7 @@ class Nxapi(object):
self.url = None self.url = None
self._nxapi_auth = None self._nxapi_auth = None
def _get_body(self, commands, command_type, encoding, version='1.2', chunk='0', sid=None): def _get_body(self, commands, command_type, encoding, version='1.0', chunk='0', sid=None):
"""Encodes a NXAPI JSON request message """Encodes a NXAPI JSON request message
""" """
if isinstance(commands, (list, set, tuple)): if isinstance(commands, (list, set, tuple)):