Commit dc912ca2 by Bruce Pennypacker

removed unwanted 'if wait else None'

parent 2be8feeb
......@@ -128,7 +128,7 @@ class ElbManager:
to report it out-of-service"""
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:
# The instance isn't registered with this ELB so just
# return unchanged
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment