summaryrefslogtreecommitdiff
path: root/python-openstackclient
diff options
context:
space:
mode:
authorSteve Martinelli <stevemar@ca.ibm.com>2015-09-24 23:24:44 -0400
committerDean Troyer <dtroyer@gmail.com>2015-09-30 18:17:15 +0000
commit8bd92949fa52e8458928c247be53f2825fbc0621 (patch)
treea9e44a9f3b6aea4d31c229654a3fe11e774397dd /python-openstackclient
parentc40cc3ed3f48efe4796c9e793f6ebb050532f046 (diff)
downloadpython-openstackclient-8bd92949fa52e8458928c247be53f2825fbc0621.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 (cherry picked from commit 05f5e043d8cc536c21acb51c5a9e85fac9563f47)
Diffstat (limited to 'python-openstackclient')
0 files changed, 0 insertions, 0 deletions