Merge "Use heat stack_update from openstack_dashboard API"
This commit is contained in:
commit
8c4d335331
@ -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"), [])
|
||||
|
Loading…
x
Reference in New Issue
Block a user