ironic/releasenotes/notes/next-link-for-instance-uuid-f46eafe5b575f3de.yaml
Ruby Loo 12399ffc79 Remove 'next' for GET /nodes?limit=1&instance_uuid=
For a "GET /nodes?limit=1&instance_uuid=<uuid>" request that has a
node that matches, the response would include a 'next' link.
(Note that the generated 'next' link happens to be incorrect; it
doesn't include 'instance_uuid'). However, at most one node can match
the specified instance UUID, so we should not be returning any 'next'
link.

This fixes it so no 'next' link is returned.

Change-Id: I4efe06652baf3423790c238d4a8d2bc5a736b3a5
Closes-Bug: #1718683
2017-09-28 21:02:12 +00:00

9 lines
313 B
YAML

---
fixes:
- |
Fixes a `bug <https://bugs.launchpad.net/ironic/+bug/1718683>`_
with the response for a
``GET /nodes?limit=1&instance_uuid=<uuid>`` request. If a node matched,
a ``next`` link was returned, even though there are no more nodes that
will match. That link is no longer returned.