]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
heat engine : loadbalancer add missing calculate_properties()
authorSteven Hardy <shardy@redhat.com>
Tue, 18 Sep 2012 14:59:04 +0000 (15:59 +0100)
committerSteven Hardy <shardy@redhat.com>
Tue, 18 Sep 2012 15:32:47 +0000 (16:32 +0100)
Add calculate_properties() call to ensure the user defined parameter
values are correctly updated in self.parameters

Ref #241

Change-Id: I7f4ec0ac546a5599359b6aa2e713ea1b6051ff34
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/engine/loadbalancer.py

index fab1e67f48ab8f783eccd11eeab2ad595c5cded4..b8418f6d20e374880a557fdc76d39d1e1733101f 100644 (file)
@@ -316,6 +316,7 @@ class LoadBalancer(stack.Stack):
         save it to the db.
         rely on the cfn-hup to reconfigure HAProxy
         '''
+        self.calculate_properties()
         self.properties['Instances'] = inst_list
         templ = json.loads(lb_template)
         cfg = self._haproxy_config(templ)