diff options
| author | Steve Martinelli <stevemar@ca.ibm.com> | 2015-09-24 23:24:44 -0400 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2015-09-30 09:54:28 -0500 |
| commit | 05f5e043d8cc536c21acb51c5a9e85fac9563f47 (patch) | |
| tree | 1c473023991254073ca14086408be1c6b1107b4e /python-openstackclient | |
| parent | 678e69064854e3a3d3499171b0a29f30f2771840 (diff) | |
| download | python-openstackclient-05f5e043d8cc536c21acb51c5a9e85fac9563f47.tar.gz | |
Additional exception handling for find_resource
A few things here: 1) we need to check if the client class even
has a 'resource_class', in the case of glanceclient, it does not.
2) If everything fails we should print a better error message,
rather than a "find" failed, since some clients don't support find.
Change-Id: I6277322639e75b1635f9f3d159753efadbce1031
Diffstat (limited to 'python-openstackclient')
0 files changed, 0 insertions, 0 deletions
