]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Fix spelling errors in loadbalancer which resulted in template not launching
authorSteven Dake <sdake@redhat.com>
Mon, 17 Sep 2012 19:09:59 +0000 (12:09 -0700)
committerSteven Dake <sdake@redhat.com>
Mon, 17 Sep 2012 19:42:35 +0000 (12:42 -0700)
Fixes issue #239

Change-Id: I20f685598b90a40ed0452af8b7c018a1bf7e0492
Signed-off-by: Steven Dake <sdake@redhat.com>
Signed-off-by: Tomas Sedovic <tsedovic@redhat.com>
heat/engine/loadbalancer.py

index 79cca3dbfd9abdb1da30b946b0192b1d90d63838..bedeedfb7a5f0fad458e66535501e40b230d374e 100644 (file)
@@ -255,8 +255,8 @@ class LoadBalancer(stack.Stack):
         if health_chk:
             check = 'check inter %ss fall %s rise %s' % (
                     health_chk['Interval'],
-                    health_chk['UnHealthyTheshold'],
-                    health_chk['HealthyTheshold'])
+                    health_chk['UnhealthyThreshold'],
+                    health_chk['HealthyThreshold'])
             timeout_check = 'timeout check %ds' % (health_chk['Timeout'])
         else:
             check = ''