summaryrefslogtreecommitdiff
path: root/openstackclient/api
diff options
context:
space:
mode:
authorDavid Rosales <darosale@us.ibm.com>2016-04-29 12:12:52 -0500
committerSteve Martinelli <s.martinelli@gmail.com>2016-06-22 21:55:46 -0700
commit337d013c94378a4b3f0e8f90e4f5bd745448658f (patch)
tree4dc43c30de328f0b83147e078faee22560b88bac /openstackclient/api
parenta60f16b9385d7ee2322a25b5728363fbf8f5154b (diff)
downloadpython-openstackclient-337d013c94378a4b3f0e8f90e4f5bd745448658f.tar.gz
Use resource id when name given for identity show
Currently a user is allowed to specify either a resource ID or name when running openstack identity comands. In some cases, when a name is specified instead of an ID, the command will return as not able to find the resource when it in fact does exist. The changes here are to check the client against the token on such requests and to extract the ID of the resource specified if enough information exists between the two. We then use the ID associated with the resource to complete the user requests. Change-Id: I40713b0ded42063b786dc21247e854224b9d2fe2 Closes-Bug: #1561599
Diffstat (limited to 'openstackclient/api')
0 files changed, 0 insertions, 0 deletions