Fixed regex to pick correct items (#42557)

(cherry picked from commit fa624eba29)
pull/42147/merge
Nilashish Chakraborty 6 years ago committed by Matt Clay
parent bf1a5293d4
commit 25d5d10f51

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