summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-01-09 22:47:42 +0000
committerGerrit Code Review <review@openstack.org>2019-01-09 22:47:42 +0000
commit71efb19ebc59743f0cb82923a11083ef7c9bef5f (patch)
tree5beeb54ac30aa7d4da007971913f736013e86a49
parent78090dee690954e83cf242d488380af013c1def6 (diff)
parent4bfd800ff4aa0af425a108812faa542b95a70d84 (diff)
Merge "API v2: fix "local variable 'c' referenced before assignment""
-rw-r--r--sahara/api/v2/clusters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sahara/api/v2/clusters.py b/sahara/api/v2/clusters.py
index 79035c2..007e441 100644
--- a/sahara/api/v2/clusters.py
+++ b/sahara/api/v2/clusters.py
@@ -59,7 +59,7 @@ def clusters_create(data):
59 else: 59 else:
60 result = api.create_cluster(data).to_wrapped_dict() 60 result = api.create_cluster(data).to_wrapped_dict()
61 u._replace_hadoop_version_plugin_version(result['cluster']) 61 u._replace_hadoop_version_plugin_version(result['cluster'])
62 u._replace_tenant_id_project_id(c['cluster']) 62 u._replace_tenant_id_project_id(result['cluster'])
63 return u.render(result) 63 return u.render(result)
64 64
65 65