Merge "user create v2.0 depends on tenantId in response"

This commit is contained in:
Jenkins
2014-08-07 20:26:07 +00:00
committed by Gerrit Code Review

View File

@@ -99,6 +99,7 @@ class CreateUser(show.ShowOne):
# NOTE(dtroyer): The users.create() method wants 'tenant_id' but
# the returned resource has 'tenantId'. Sigh.
# We're using project_id now inside OSC so there.
if 'tenantId' in user._info:
user._info.update(
{'project_id': user._info.pop('tenantId')}
)