mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
This commit is contained in:
parent
c75b5ba85f
commit
73c3f35112
1 changed files with 1 additions and 1 deletions
|
@ -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)):
|
||||||
|
|
Loading…
Reference in a new issue