mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
removed unwanted 'if wait else None'
This commit is contained in:
parent
2be8feebce
commit
dc912ca201
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ class ElbManager:
|
||||||
to report it out-of-service"""
|
to report it out-of-service"""
|
||||||
|
|
||||||
for lb in self.lbs:
|
for lb in self.lbs:
|
||||||
initial_state = self._get_instance_health(lb) if wait else None
|
initial_state = self._get_instance_health(lb)
|
||||||
if initial_state is None:
|
if initial_state is None:
|
||||||
# The instance isn't registered with this ELB so just
|
# The instance isn't registered with this ELB so just
|
||||||
# return unchanged
|
# return unchanged
|
||||||
|
|
Loading…
Reference in a new issue