python-openstackclient/openstackclient
sunyajing c45b1d7b23 Fix error for find_service() in identity
if there are more than one services be found with one
name, a NoUniqueMatch exception should be raised but
we can see a NotFound Exception raised instead. It is
because in "find_service()", we use "find_resource()"
first, if "find_resource()" return a exception, we just
think it is a NotFound Exception and continue to find
by type but ignore a NoUniqueMatch exception of
"find_resource()". This patch refactor the "find_service()"
method to solve this problem.

Change-Id: Id4619092c57f276ae0698c89df0d5503b7423a4e
Co-Authored-By: Huanxuan Ao <huanxuan.ao@easystack.cn>
Closes-Bug:#1597296
2016-07-22 19:40:50 +08:00
..
api remove unused LOG 2016-07-09 23:23:38 +08:00
common Temp work around for missing select_auth_plugin() 2016-07-13 10:33:19 -05:00
compute Merge "Pass security group id to novaclient" 2016-07-18 18:35:15 +00:00
identity Fix error for find_service() in identity 2016-07-22 19:40:50 +08:00
image image list: Add Checksum column 2016-07-11 20:31:13 -07:00
locale Imported Translations from Zanata 2016-06-04 06:18:46 +00:00
network Change to plural form of object in multi delete error message in networkv2 2016-07-14 18:34:19 +08:00
object osc-lib: command 2016-06-13 11:00:22 -05:00
tests Fix error for find_service() in identity 2016-07-22 19:40:50 +08:00
volume Merge "Support error handling for delete commands in volumev2" 2016-07-18 22:41:07 +00:00
__init__.py Change version reporting to use pbr 2013-08-02 12:11:49 -05:00
i18n.py Update translation setup 2016-01-29 08:18:50 +09:00
shell.py Correct reraising of exception 2016-07-07 15:05:58 +00:00