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:
parent
2be2f35373
commit
bce31a11c2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue