Currently user get redundant HTTP error code in error message.
Removed redundant HTTP error code from the message.
For Example:
Error message display when user trying to get the non existing image:
$ glance image-show f433471a-53a8-4d31-bf8f-f0b6b594dfc
Error message:
404 Not Found: No image found with ID f433471a-53a8-4d31-bf8f-f0b6b594dfc (HTTP 404)
After this fix:
HTTP 404 Not Found: No image found with ID f433471a-53a8-4d31-bf8f-f0b6b594dfc
Reviewed: https:/ /review. openstack. org/475351 /git.openstack. org/cgit/ openstack/ python- glanceclient/ commit/ ?id=ae4355be01c 0b4bcf5b6bdd2c1 163b3f6df3e213
Committed: https:/
Submitter: Zuul
Branch: master
commit ae4355be01c0b4b cf5b6bdd2c1163b 3f6df3e213
Author: bhagyashris <email address hidden>
Date: Thu Jun 30 18:34:14 2016 +0530
Remove redundant information from error message
Currently user get redundant HTTP error code in error message.
Removed redundant HTTP error code from the message.
For Example: 53a8-4d31- bf8f-f0b6b594df c 53a8-4d31- bf8f-f0b6b594df c (HTTP 404)
Error message display when user trying to get the non existing image:
$ glance image-show f433471a-
Error message:
404 Not Found: No image found with ID f433471a-
After this fix: 53a8-4d31- bf8f-f0b6b594df c
HTTP 404 Not Found: No image found with ID f433471a-
Closes-Bug: #1598714 853815829932547 1c2a69dbb3e
Change-Id: I33971a2a16416c