mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Fix ios integration test failures (#35333)
This commit is contained in:
parent
dd949c5b65
commit
c216473c82
4 changed files with 26 additions and 2 deletions
|
@ -184,7 +184,7 @@ def validate_param_values(module, obj, param=None):
|
|||
def parse_shutdown(configobj, name):
|
||||
cfg = configobj['interface %s' % name]
|
||||
cfg = '\n'.join(cfg.children)
|
||||
match = re.search(r'shutdown', cfg, re.M)
|
||||
match = re.search(r'^shutdown', cfg, re.M)
|
||||
if match:
|
||||
return True
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue