From dc912ca2010b101bca4101951d077b97eaecc962 Mon Sep 17 00:00:00 2001 From: Bruce Pennypacker Date: Thu, 24 Apr 2014 20:41:51 +0000 Subject: [PATCH] removed unwanted 'if wait else None' --- library/cloud/ec2_elb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/cloud/ec2_elb b/library/cloud/ec2_elb index e36a71e1ba0..228048d3814 100644 --- a/library/cloud/ec2_elb +++ b/library/cloud/ec2_elb @@ -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