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.
This commit is contained in:
Peter Sprygada 2016-10-13 15:12:49 -04:00 committed by GitHub
parent 2be2f35373
commit bce31a11c2

View file

@ -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'