ios local action creates circular reference (#21404)

When loading the params in the local action, the provider key was
inadvertently being loaded as well.  This created the circular
reference.  The load_provider() method will now check for the provider
key and skip it when encountered.

fixes #21399
This commit is contained in:
Peter Sprygada
2017-02-14 09:56:52 -05:00
committed by GitHub
parent f1a6d14d8e
commit d43eac93bc
2 changed files with 11 additions and 10 deletions

View File

@@ -365,6 +365,7 @@ def main():
commands.extend(module.params['after'])
result['commands'] = commands
result['updates'] = commands
result['banners'] = banners
# send the configuration commands to the device and merge