Fix the incorrect return messages in keypair show and delete
When we delete or show a keypair, if the keypair doesn't exist,
we'll get "The resource could not be found.(HTTP 404)", this
patch will change it to "ERROR: No keypair with a name or ID of
'keypair_name' exists."
Reviewed: https:/ /review. openstack. org/88526 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=fdd59e142a6 9d02123ad5b8522 ba0e75c731e02f
Committed: https:/
Submitter: Jenkins
Branch: master
commit fdd59e142a69d02 123ad5b8522ba0e 75c731e02f
Author: Zhengguang <email address hidden>
Date: Fri Apr 18 15:15:48 2014 +0800
Fix the incorrect return messages in keypair show and delete
When we delete or show a keypair, if the keypair doesn't exist,
we'll get "The resource could not be found.(HTTP 404)", this
patch will change it to "ERROR: No keypair with a name or ID of
'keypair_name' exists."
Change-Id: Ifebd8d2213c327 f3d3fdd67220717 0aebbe1bb40
Closes-Bug: #1307338