]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Store owner_id on Stack so updates maintain it
authorChristopher Armstrong <chris.armstrong@rackspace.com>
Tue, 13 Aug 2013 23:40:12 +0000 (23:40 +0000)
committerChristopher Armstrong <chris.armstrong@rackspace.com>
Wed, 14 Aug 2013 14:09:16 +0000 (14:09 +0000)
commit4a4a0656f8ba7db8d41e781ce692ffef90a6fa99
treeb15e7fb548612814715444c2d71998918f67c793
parentc92aa027facaecc793bdd9256fe3883e086a4c73
Store owner_id on Stack so updates maintain it

Instead of passing owner to the store() method of parser.Stack,
it is now maintained as an attribute of the Stack instance,
and store() will use that saved attribute when saving.

This fixes the problem of losing the owner_id on updates to
a stack.

Fixes bug 1212013

Change-Id: I1e3b7832291ca0f5cda24c1995ab782824e48943
heat/engine/parser.py
heat/engine/stack_resource.py
heat/tests/test_parser.py
heat/tests/test_stack_resource.py