mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Update cliconf get_config api (#43472)
* Change `filter` parameter to `flag` to be in sync with original naming convention
This commit is contained in:
@@ -140,7 +140,7 @@ class Cli:
|
||||
except KeyError:
|
||||
connection = self._get_connection()
|
||||
try:
|
||||
out = connection.get_config(filter=flags)
|
||||
out = connection.get_config(flags=flags)
|
||||
except ConnectionError as exc:
|
||||
self._module.fail_json(msg=to_text(exc, errors='surrogate_then_replace'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user