f8e79ab507
When create trust with invalid role key(neither 'id' nor 'name'), Keystone should raise 400 BadRequest, instead of 500 Internal Error. This patch removed the redundant loops in _normalize_role_list as well. Change-Id: I62bd201c1dda7b573e2ee8b97322c1f25275892c Closes-bug: #1734244
7 lines
207 B
YAML
7 lines
207 B
YAML
---
|
|
fixes:
|
|
- |
|
|
[`bug 1734244 <https://bugs.launchpad.net/keystone/+bug/1734244>`_]
|
|
Return a 400 status code instead of a 500 when creating a trust with
|
|
extra attributes in the roles parameter.
|