Browse Source

Merge "API v2: fix "local variable 'c' referenced before assignment""

tags/10.0.0.0b1
Zuul 5 months ago
parent
commit
71efb19ebc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sahara/api/v2/clusters.py

+ 1
- 1
sahara/api/v2/clusters.py View File

@@ -59,7 +59,7 @@ def clusters_create(data):
59 59
     else:
60 60
         result = api.create_cluster(data).to_wrapped_dict()
61 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 63
         return u.render(result)
64 64
 
65 65
 

Loading…
Cancel
Save