commit a2db877b41fad494fe9daa09b5c77914638ac605
Author: Monty Taylor <email address hidden>
Date: Tue Jan 19 10:12:02 2016 -0500
Don't set project_domain if not project scoped
The code to expand domain_{name,id} to {user,project}_domain_{name,id}
is flawed in that it sets a project_domain_{name,id} even if a
project_{name,id} is not set. There is a valid use case for not having
a project_{name,id} - specifically getting a domain-scoped token.
In the case where we do not set a project, check for that and don't make
further assumptions that the domain input needs to be "fixed".
Reviewed: https:/ /review. openstack. org/269704 /git.openstack. org/cgit/ openstack/ os-client- config/ commit/ ?id=a2db877b41f ad494fe9daa09b5 c77914638ac605
Committed: https:/
Submitter: Jenkins
Branch: master
commit a2db877b41fad49 4fe9daa09b5c779 14638ac605
Author: Monty Taylor <email address hidden>
Date: Tue Jan 19 10:12:02 2016 -0500
Don't set project_domain if not project scoped
The code to expand domain_{name,id} to {user,project} _domain_ {name,id} domain_ {name,id} even if a {name,id} is not set. There is a valid use case for not having
is flawed in that it sets a project_
project_
a project_{name,id} - specifically getting a domain-scoped token.
In the case where we do not set a project, check for that and don't make
further assumptions that the domain input needs to be "fixed".
Closes-Bug: #1535676 208bb176bb5990c 23fe87c8f9d
Change-Id: I825fe4bc375687