Skip to content

Commit

Permalink
heat engine : DBInstance fix so nested stack is deleted
Browse files Browse the repository at this point in the history
Currently the RDS DBInstance resource inherits from stack.Stack but it
should be stack.NestedStack, which implements handle_delete whereas
stack.Stack does not, meaning the DBInstance nested stack is never
deleted when the owning stack gets deleted.

fixes bug 1097299

Change-Id: I865611d4de9ea4c3caa43c7a11a28924602a5b0d
Signed-off-by: Steven Hardy <shardy@redhat.com>
  • Loading branch information
Steven Hardy committed Jan 8, 2013
1 parent 93c3d93 commit f4abb59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heat/engine/resources/dbinstance.py
Expand Up @@ -163,7 +163,7 @@
'''


class DBInstance(stack.Stack):
class DBInstance(stack.NestedStack):

properties_schema = {
'DBSnapshotIdentifier': {'Type': 'String',
Expand Down

0 comments on commit f4abb59

Please sign in to comment.