]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Fix backtrace when using loadbalancer
authorSteven Dake <sdake@redhat.com>
Mon, 17 Sep 2012 19:51:21 +0000 (12:51 -0700)
committerSteven Dake <sdake@redhat.com>
Mon, 17 Sep 2012 19:51:21 +0000 (12:51 -0700)
commitc5d512465979d0c3851352736ca0acc7091722a6
tree72a00b8bced3a2923d6088a575272cae1afdb75a
parent77864991de744096976936eebaf61d0f7fd4440e
Fix backtrace when using loadbalancer

Loadbalancer incorrectly tried to reference a string as an integer.

This resulted in the following typeerror which is repaired by
thi patch:

    timeout_check = 'timeout check %ds' % (health_chk['Timeout'])
TypeError: %d format: a number is required, not unicode

Fixes issue #240

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