1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02: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:
Peter Sprygada 2016-08-31 07:37:58 -04:00 committed by GitHub
commit 390be19e29

View file

@ -65,7 +65,7 @@ class Cli(object):
def __call__(self, commands, output=None):
objects = list()
for cmd in commands:
for cmd in to_list(commands):
objects.append(self.to_command(cmd, output))
return self.connection.run_commands(objects)