minor fix for checking kwargs in get_config() (#18002)

The get_config() method was checking for a nonexistent kwarg that would
cause an exception.  This fixes that problem.
pull/18013/head
Peter Sprygada 8 years ago committed by GitHub
parent 2be2f35373
commit bce31a11c2

@ -92,7 +92,7 @@ class Cli(CliBase):
cmd = 'show running-config'
if include == 'passwords':
cmd = 'more system:running-config'
elif include_defaults:
elif include == 'defaults':
cmd = 'show running-config all'
else:
cmd = 'show running-config'

Loading…
Cancel
Save