Fix link in placement contributor doc

A todo in the contributor/placement.rst slipped through the review
cracks and meant a bad link to 'link to spec once it merges' is in the
docs. This fixes it with the correct link to the spec.

Change-Id: I13daf9576dcb1229409826b4c4eac28c8bb1e23f
This commit is contained in:
Chris Dent 2018-04-20 12:27:40 +01:00
parent 8a407bd288
commit 6efbed5e70

View File

@ -252,8 +252,8 @@ environment. It can be retrieved as follows::
changes in a patch that is separate from and prior to the HTTP API changes in a patch that is separate from and prior to the HTTP API
change. change.
If a handler needs to return an error response, with the advent of `link to If a handler needs to return an error response, with the advent of `Placement
spec once it merges`_, it is possible to include a code in the JSON error API Error Handling`_, it is possible to include a code in the JSON error
response. This can be used to distinguish different errors with the same HTTP response. This can be used to distinguish different errors with the same HTTP
response status code (a common case is a generation conflict versus an response status code (a common case is a generation conflict versus an
inventory in use conflict). Error codes are simple namespaced strings (e.g., inventory in use conflict). Error codes are simple namespaced strings (e.g.,
@ -430,3 +430,4 @@ for an eventual extraction and avoid creating unnecessary interdependencies.
.. _gabbi-run: http://gabbi.readthedocs.io/en/latest/runner.html .. _gabbi-run: http://gabbi.readthedocs.io/en/latest/runner.html
.. _errors: http://specs.openstack.org/openstack/api-wg/guidelines/errors.html .. _errors: http://specs.openstack.org/openstack/api-wg/guidelines/errors.html
.. _API Reference: https://developer.openstack.org/api-ref/placement/ .. _API Reference: https://developer.openstack.org/api-ref/placement/
.. _Placement API Error Handling: http://specs.openstack.org/openstack/nova-specs/specs/rocky/approved/placement-api-error-handling.html