mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-03 23:20:19 -07:00
Merge pull request #17320 from privateip/fix-netcli-iterable
fixes issue with converting commands to an iterable was not being done
This commit is contained in:
commit
390be19e29
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class Cli(object):
|
||||||
|
|
||||||
def __call__(self, commands, output=None):
|
def __call__(self, commands, output=None):
|
||||||
objects = list()
|
objects = list()
|
||||||
for cmd in commands:
|
for cmd in to_list(commands):
|
||||||
objects.append(self.to_command(cmd, output))
|
objects.append(self.to_command(cmd, output))
|
||||||
return self.connection.run_commands(objects)
|
return self.connection.run_commands(objects)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue