openstacksdk/releasenotes/notes/get-server-by-id-none-3e8538800fa09d82.yaml
Monty Taylor e8e99af4d3 Return None from get_server_by_id on 404
The interface for get_server_by_id SHOULD be None if not found
like the rest of the cloud layer. At some point in the past that
got broken. Fix it.

Change-Id: Ibd4fdc22418679c3562faaabe8fe3d307e8e8283
2019-04-16 18:36:17 +00:00

8 lines
303 B
YAML

---
fixes:
- |
The ``get_server_by_id`` method is supposed to return ``None`` if the
server in question can't be found, but a regression was introduced
causing it to raise ``ResourceNotFound`` instead. This has been corrected
and ``get_server_by_id`` returns ``None`` correctly again.