Fixed regex to pick correct items (#42557)

pull/42626/head
Nilashish Chakraborty 6 years ago committed by Trishna Guha
parent 42eaa00371
commit fa624eba29

@ -227,7 +227,7 @@ def parse_members(module, config, group):
def get_channel(module, config, group):
match = re.findall(r'interface (\S+)', config, re.M)
match = re.findall(r'^interface (\S+)', config, re.M)
if not match:
return {}

Loading…
Cancel
Save