Fixed regex to pick correct items (#42557)
(cherry picked from commit fa624eba29
)
This commit is contained in:
parent
bf1a5293d4
commit
25d5d10f51
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue