Fix incorrect auth config key

This patch simply changes 'username' to 'tenant_name' under
the _generate_keystone_data function when the value of for
'name' under 'project' is being called.

Closes-Bug: #1552025
Change-Id: I3fac7a3014368334f69f7ff1732cc3587f9db99d
This commit is contained in:
Charles Mholen Siloy 2016-03-04 05:30:36 +00:00 committed by Paul Van Eck
parent 1b7f413b60
commit 800795b088

View File

@ -237,7 +237,7 @@ class RefstackClient:
'identity': identity,
'scope': {
'project': {
'name': auth_config['username'],
'name': auth_config['tenant_name'],
'domain': {'name': auth_config['domain_name']}
}
}