Merge "Another small fix for cluster creation on APIv2"

This commit is contained in:
Zuul 2018-08-06 18:39:07 +00:00 committed by Gerrit Code Review
commit 2c6232c9ad
1 changed files with 1 additions and 1 deletions

View File

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