From c975a0e005612133a8188fa7490f6c3ff1899027 Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Tue, 8 Jan 2013 18:47:05 +0000 Subject: [PATCH] heat engine : LoadBalancer resource delete nested stack Ensure LoadBalancer resource deletes the underlying nested stack when the owning stack is deleted - needs to inherit from stack.NestedStack as this implements handle_delete() fixes bug 1097394 Change-Id: I2002bed361511a495cbdf38cad7b61e148a68ba2 Signed-off-by: Steven Hardy --- heat/engine/resources/loadbalancer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat/engine/resources/loadbalancer.py b/heat/engine/resources/loadbalancer.py index 2d5fea7c36..e690739eb6 100644 --- a/heat/engine/resources/loadbalancer.py +++ b/heat/engine/resources/loadbalancer.py @@ -153,7 +153,7 @@ lb_template = ''' # file at the moment this is because we will probably need to implement a # LoadBalancer based on keepalived as well (for for ssl support). # -class LoadBalancer(stack.Stack): +class LoadBalancer(stack.NestedStack): listeners_schema = { 'InstancePort': {'Type': 'Number',