diff options
author | Zane Bitter <zbitter@redhat.com> | 2016-05-01 19:06:09 -0500 |
---|---|---|
committer | Zane Bitter <zbitter@redhat.com> | 2016-05-01 19:25:24 -0500 |
commit | f1751ae84c60652e8e7ecdca49f8ca8f91becb11 (patch) | |
tree | ad42e13f161556afb18829040e6adf3ccd0bf838 /contrib | |
parent | b3e59321a4b5921d07ca331910be691bdf5af736 (diff) | |
download | heat-f1751ae84c60652e8e7ecdca49f8ca8f91becb11.tar.gz |
Don't treat ResourceDefinition as cfn template in resources
Remove the last few instances of treating a ResourceDefinition as a snippet
of a CloudFormation template (rather than using the API) in various
resources.
Change-Id: I7266385121530b76d1955e466b3d51fae860a5ee
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/rackspace/rackspace/resources/auto_scale.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/rackspace/rackspace/resources/auto_scale.py b/contrib/rackspace/rackspace/resources/auto_scale.py index a25b2bca7..57f73a40d 100644 --- a/contrib/rackspace/rackspace/resources/auto_scale.py +++ b/contrib/rackspace/rackspace/resources/auto_scale.py @@ -749,7 +749,8 @@ class WebHook(resource.Resource): def handle_update(self, json_snippet, tmpl_diff, prop_diff): asclient = self.auto_scale() - args = self._get_args(json_snippet['Properties']) + args = self._get_args(json_snippet.properties(self.properties_schema, + self.context)) args['webhook'] = self.resource_id asclient.replace_webhook(**args) |