Merge "Fix the Timeout/Interval check in the LB."

This commit is contained in:
Jenkins 2012-08-27 09:54:20 +00:00 committed by Gerrit Code Review
commit 7ae4bab715

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'}