Merge "Fix the Timeout/Interval check in the LB."
This commit is contained in:
commit
7ae4bab715
@ -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