summaryrefslogtreecommitdiff
path: root/saharaclient/api/clusters.py
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-06-13 21:51:22 +0000
committerGerrit Code Review <review@openstack.org>2018-06-13 21:51:22 +0000
commit9670f4b8d813e37c80d1b6076affbf500f027ca3 (patch)
tree681437c044c11aacb1f3b86a45644b5ea4f9aeb7 /saharaclient/api/clusters.py
parent680d62b7ea8e8db0e99cfecc4dab65a94155010c (diff)
parent35ac83ae06f03b07b2479c7b09c9f18e4a07a067 (diff)
downloadpython-saharaclient-9670f4b8d813e37c80d1b6076affbf500f027ca3.tar.gz
Merge "Support of the improved force-delete in client"
Diffstat (limited to 'saharaclient/api/clusters.py')
-rw-r--r--saharaclient/api/clusters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/saharaclient/api/clusters.py b/saharaclient/api/clusters.py
index fefad51..6030bfe 100644
--- a/saharaclient/api/clusters.py
+++ b/saharaclient/api/clusters.py
@@ -211,7 +211,7 @@ class ClusterManagerV2(ClusterManagerV1):
def force_delete(self, cluster_id):
"""Force Delete a Cluster."""
data = {'force': True}
- self._delete('/clusters/%s' % cluster_id, data)
+ return self._delete('/clusters/%s' % cluster_id, data)
# NOTE(jfreud): keep this around for backwards compatibility