Files
python-aodhclient/aodhclient/tests/unit/test_shell.py
ZhiQiang Fan 479bbc2c20 fix KeyError when credential is invalid
We assume the keystoneauth1.exceptions.HttpError.response has
a field named `description`, however, it doesn't.[1]

We should use `details` instead. [2]

[1]. https://github.com/openstack/keystoneauth/blob/2.6.0/keystoneauth1/exceptions/http.py#L65-L85
[2]. https://github.com/openstack/keystoneauth/blob/2.6.0/keystoneauth1/exceptions/http.py#L391

Change-Id: I77846c6cafc0f73a1c6cf20a17fe44ba1284eef1
Closes-Bug: #1577290
2016-05-03 04:42:03 +08:00

1.4 KiB