mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Fix various junos errors (#23278)
This commit is contained in:
committed by
Ganesh Nalawade
parent
0b8ca98c48
commit
e8538213fa
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user