From 8baeccacab9d33621e19a8b25cd4ad7c3aca68be 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' --- cloud/ec2_elb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/ec2_elb b/cloud/ec2_elb index e36a71e1ba0..228048d3814 100644 --- a/cloud/ec2_elb +++ b/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