Fix nxos_pim idempotence (#28348)
This commit is contained in:
parent
af40d04247
commit
db5d799122
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def get_existing(module, args):
|
||||||
|
|
||||||
for arg in args:
|
for arg in args:
|
||||||
command = PARAM_TO_COMMAND_KEYMAP[arg]
|
command = PARAM_TO_COMMAND_KEYMAP[arg]
|
||||||
has_command = re.match(r'(?:{0}\s)(?P<value>.*)$'.format(command), config, re.M)
|
has_command = re.search(r'^{0}\s(?P<value>.*)$'.format(command), config, re.M)
|
||||||
|
|
||||||
value = ''
|
value = ''
|
||||||
if has_command:
|
if has_command:
|
||||||
|
|
Loading…
Reference in a new issue