Update cliconf get_config api (#43472)

*  Change `filter` parameter to `flag` to be in sync
   with original naming convention
This commit is contained in:
Ganesh Nalawade 2018-07-31 02:53:29 -07:00 committed by GitHub
commit 857200fa7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 15 additions and 15 deletions

View file

@ -136,7 +136,7 @@ class Cli:
except KeyError:
conn = self._get_connection()
try:
out = conn.get_config(filter=flags)
out = conn.get_config(flags=flags)
except ConnectionError as exc:
self._module.fail_json(msg=to_text(exc, errors='surrogate_then_replace'))