Browse Source

Merge "Another small fix for cluster creation on APIv2"

Zuul 8 months ago
parent
commit
2c6232c9ad
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

@@ -49,7 +49,7 @@ def clusters_create(data):
49 49
     del data['plugin_version']
50 50
     if data.get('count', None) is not None:
51 51
         result = api.create_multiple_clusters(data)
52
-        for c in result:
52
+        for c in result['clusters']:
53 53
             u._replace_hadoop_version_plugin_version(c['cluster'])
54 54
         return u.render(result)
55 55
     else:

Loading…
Cancel
Save