Files
placement/releasenotes/notes/create-allocation-empty-mapping-field-f5f97de6df891362.yaml
Stephen Finucane 7d4d49f41c Fix typo in schema
We should have been specifying a minimum number of properties for the
'mappings' field when creating allocations [1]. We were not, thanks to a
typo. Correct this typo.

[1] https://docs.openstack.org/api-ref/placement/#allocations

Change-Id: I79bd5bf36a57983c38abc9235a8420931f373ca4
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-07-11 13:09:34 +01:00

10 lines
461 B
YAML

---
fixes:
- |
Since microversion 1.34, it has been possible to provide a ``mappings``
field when creating new allocations via the ``POST /allocations`` or ``PUT
/allocations/{allocation_id}`` APIs. This field should be a a dictionary
associating request group suffixes with a list of UUIDs identifying the
resource providers that satisfied each group. Due to a typo, this was
allowing an empty object (``{}``). This is now corrected.