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:
parent
76549404c4
commit
bb7c039936
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue