Fix ios integration test failures (#35333)

This commit is contained in:
Ganesh Nalawade 2018-01-25 12:26:17 +05:30 committed by GitHub
commit c216473c82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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: