Fix logic error in nxos get_config.

pull/30339/head
Matt Clay 8 years ago
parent 765718bed2
commit ec59650528

@ -115,7 +115,7 @@ class Cli:
def get_config(self, flags=None):
"""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 += ' '.join(flags)

Loading…
Cancel
Save