Fix the Timeout/Interval check in the LB.
http://docs.amazonwebservices.com/ElasticLoadBalancing/latest/APIReference/API_HealthCheck.html Fixes: #198 Change-Id: I3ec3e5a946e32695f3f9b0930b922837ab80ea66 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
parent
5e41a1ee73
commit
e30d48231d
@ -306,7 +306,7 @@ class LoadBalancer(stack.Stack):
|
|||||||
|
|
||||||
health_chk = self.properties['HealthCheck']
|
health_chk = self.properties['HealthCheck']
|
||||||
if health_chk:
|
if health_chk:
|
||||||
if float(health_chk['Interval']) >= float(health_chk['Timeout']):
|
if float(health_chk['Interval']) < float(health_chk['Timeout']):
|
||||||
return {'Error':
|
return {'Error':
|
||||||
'Interval must be larger than Timeout'}
|
'Interval must be larger than Timeout'}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user