diff --git a/tuskar_ui/api/heat.py b/tuskar_ui/api/heat.py index 8203a66ba..17d97dc98 100644 --- a/tuskar_ui/api/heat.py +++ b/tuskar_ui/api/heat.py @@ -99,12 +99,7 @@ class Stack(base.APIResourceWrapper): 'files': provider_resource_templates, } password = getattr(settings, 'UNDERCLOUD_ADMIN_PASSWORD', None) - - # TODO(lsmola) Bug #1394505. Until then we are calling the client - # directly. When it's fixed, we should use heat_update from - # openstack_dashboard api. - heat.heatclient(request, password).stacks.update(self.id, **fields) - return self + heat.stack_update(request, self.id, password, **fields) @classmethod @handle_errors(_("Unable to retrieve heat stacks"), [])