Another small fix for cluster creation on APIv2

Small fix that was blocking creation of multiple clusters using api v2.

Change-Id: I6c1db62a4bee3d1b064333b7b2d8b8e2d6ad50f1
This commit is contained in:
Telles Nobrega 2018-08-03 14:54:07 -03:00
parent 76549404c4
commit bb7c039936
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: