Fixing cluster creation on APIv2

We missed this detail on the review. Right now the creation of a single cluster
fails.

Change-Id: I56a94d9045284259b0f0a8b3998106b754187c4f
This commit is contained in:
Telles Nobrega 2018-07-31 14:26:01 -03:00
parent 09b858b8b1
commit 76549404c4
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ def clusters_create(data):
return u.render(result)
else:
result = api.create_cluster(data).to_wrapped_dict()
u._replace_hadoop_version_plugin_version(c['cluster'])
u._replace_hadoop_version_plugin_version(result['cluster'])
return u.render(result)