Fix ios integration test failures (#35333)

This commit is contained in:
Ganesh Nalawade
2018-01-25 12:26:17 +05:30
committed by GitHub
parent dd949c5b65
commit c216473c82
4 changed files with 26 additions and 2 deletions

View File

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