mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Fix logic error in nxos get_config.
This commit is contained in:
parent
765718bed2
commit
ec59650528
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ class Cli:
|
||||||
def get_config(self, flags=None):
|
def get_config(self, flags=None):
|
||||||
"""Retrieves the current config from the device or cache
|
"""Retrieves the current config from the device or cache
|
||||||
"""
|
"""
|
||||||
flags = [] if flags is None else []
|
flags = [] if flags is None else flags
|
||||||
|
|
||||||
cmd = 'show running-config '
|
cmd = 'show running-config '
|
||||||
cmd += ' '.join(flags)
|
cmd += ' '.join(flags)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue