summaryrefslogtreecommitdiff
path: root/heat/engine/resources/openstack/senlin/cluster.py
diff options
context:
space:
mode:
Diffstat (limited to 'heat/engine/resources/openstack/senlin/cluster.py')
-rw-r--r--heat/engine/resources/openstack/senlin/cluster.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/heat/engine/resources/openstack/senlin/cluster.py b/heat/engine/resources/openstack/senlin/cluster.py
index 02c59fa64..6d68bb919 100644
--- a/heat/engine/resources/openstack/senlin/cluster.py
+++ b/heat/engine/resources/openstack/senlin/cluster.py
@@ -322,11 +322,11 @@ class Cluster(res_base.BaseSenlinResource):
params['cluster'] = cluster_obj
if self.PROFILE in params:
params['profile_id'] = params.pop(self.PROFILE)
+
+ self.client().update_cluster(**params)
action = {
- 'func': 'update_cluster',
- 'params': params,
- 'action_id': None,
- 'done': False,
+ 'cluster_id': self.resource_id,
+ 'done': False
}
actions.append(action)
# Resize Cluster