diff options
author | Zane Bitter <zbitter@redhat.com> | 2014-06-19 18:23:00 -0400 |
---|---|---|
committer | Zane Bitter <zbitter@redhat.com> | 2014-06-19 18:23:00 -0400 |
commit | 2aee296d15ef4d11a15a90619f7d4cffc51a06ec (patch) | |
tree | 425bf526bc802f39cc5c82fca82f17873cb2ccd8 | |
parent | 77635d29e33707bd6b6e0719b820b5aadbcbebac (diff) | |
download | heat-2aee296d15ef4d11a15a90619f7d4cffc51a06ec.tar.gz |
Allow metadata updates to provider resources
If the metadata of a provider resource changes, we shouldn't replace the
whole provider.
This is not a backport, because this has been fixed more generically for
all resources in master, where update_allowed_properties no longer
exists.
Change-Id: I706b3a2faeef582e906fe2195d79200ab3853a2c
Closes-Bug: #1332354
-rw-r--r-- | heat/engine/resources/template_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/heat/engine/resources/template_resource.py b/heat/engine/resources/template_resource.py index e10500000..7bf27c1ce 100644 --- a/heat/engine/resources/template_resource.py +++ b/heat/engine/resources/template_resource.py @@ -59,7 +59,7 @@ class TemplateResource(stack_resource.StackResource): self._parsed_nested = None self.stack = stack self.validation_exception = None - self.update_allowed_keys = ('Properties',) + self.update_allowed_keys = ('Properties', 'Metadata') tri = stack.env.get_resource_info( json_snippet['Type'], |