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:
Angus Salkeld 2012-08-27 15:09:06 +10:00
parent 5e41a1ee73
commit e30d48231d

View File

@ -306,7 +306,7 @@ class LoadBalancer(stack.Stack):
health_chk = self.properties['HealthCheck']
if health_chk:
if float(health_chk['Interval']) >= float(health_chk['Timeout']):
if float(health_chk['Interval']) < float(health_chk['Timeout']):
return {'Error':
'Interval must be larger than Timeout'}