1
0
Fork 0
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:
Bruce Pennypacker 2014-04-24 20:41:51 +00:00
parent 2be8feebce
commit dc912ca201

View file

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