mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-06 00:14:02 -07:00
Fix various junos errors (#23278)
This commit is contained in:
parent
0b8ca98c48
commit
e8538213fa
4 changed files with 7 additions and 7 deletions
|
@ -246,7 +246,7 @@ def parse_rpcs(module):
|
|||
|
||||
return items
|
||||
|
||||
def parse_commands(module):
|
||||
def parse_commands(module, warnings):
|
||||
items = list()
|
||||
|
||||
for command in (module.params['commands'] or list()):
|
||||
|
@ -301,7 +301,7 @@ def main():
|
|||
check_args(module, warnings)
|
||||
|
||||
items = list()
|
||||
items.extend(parse_commands(module))
|
||||
items.extend(parse_commands(module, warnings))
|
||||
items.extend(parse_rpcs(module))
|
||||
|
||||
wait_for = module.params['wait_for'] or list()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue