Masahito Muroi 509820f156 Use dict object for request_specs_dict in the _list_view
The request_specs_dict in the _list_view is initialized as a
defaultdict object in order to return empty string as default.
But the request_spec_dict is replaced with a normal dict object in
the v2.96 microversion, then if server list and RequestSpec missmatch
happens by any reason, the List Server API and the List
Server Detail API hit 500 Internal server error because of key error.

This commit updates the req_spec_dict to use normal dict object, then
it returns sentinel object if there is no appropriate
request_spec object.

Closes-Bug: #2095364
Change-Id: If282b8709954f276cb5d48114437809d771a9958
2025-04-04 17:06:25 +09:00
..
2023-10-02 11:11:23 +01:00
2019-07-05 13:24:18 +09:00
2022-09-17 17:40:52 +00:00
2016-11-11 14:01:51 -05:00
2017-03-31 06:19:01 +00:00
2020-09-11 14:10:32 +01:00
2019-07-22 19:17:28 +02:00
2019-11-22 16:09:36 +00:00
2017-11-28 11:07:36 +08:00
2019-07-22 19:17:28 +02:00
2019-07-22 19:17:28 +02:00
2019-07-22 19:17:28 +02:00