mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-08 11:40:32 -07:00
Follow-up for #9762, forgot one place.
This commit is contained in:
parent
a3fd357d81
commit
8e36fd4847
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ class BalancerMember(object):
|
||||||
except TypeError as exc:
|
except TypeError as exc:
|
||||||
self.module.fail_json(msg="Cannot parse balancer_member_page HTML! {0}".format(exc))
|
self.module.fail_json(msg="Cannot parse balancer_member_page HTML! {0}".format(exc))
|
||||||
else:
|
else:
|
||||||
subsoup = find_all(soup, 'table')[1].find_all('tr')
|
subsoup = find_all(find_all(soup, 'table')[1], 'tr')
|
||||||
keys = find_all(subsoup[0], 'th')
|
keys = find_all(subsoup[0], 'th')
|
||||||
for valuesset in subsoup[1::1]:
|
for valuesset in subsoup[1::1]:
|
||||||
if re.search(pattern=self.host, string=str(valuesset)):
|
if re.search(pattern=self.host, string=str(valuesset)):
|
||||||
|
|
Loading…
Add table
Reference in a new issue