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/4420/head
parent
2be2f35373
commit
bce31a11c2
|
@ -92,7 +92,7 @@ class Cli(CliBase):
|
||||||
cmd = 'show running-config'
|
cmd = 'show running-config'
|
||||||
if include == 'passwords':
|
if include == 'passwords':
|
||||||
cmd = 'more system:running-config'
|
cmd = 'more system:running-config'
|
||||||
elif include_defaults:
|
elif include == 'defaults':
|
||||||
cmd = 'show running-config all'
|
cmd = 'show running-config all'
|
||||||
else:
|
else:
|
||||||
cmd = 'show running-config'
|
cmd = 'show running-config'
|
||||||
|
|
Loading…
Reference in New Issue