Provide a default affinity value

Change-Id: Ifd55fce5f9a6eb78aa6a909beab0d502b67c1d7a
Closes-Bug: #1917636
This commit is contained in:
Pierre Riteau 2021-03-03 16:28:05 +01:00
parent 67a15bfe21
commit 22cafd21a5
2 changed files with 6 additions and 1 deletions

View File

@ -48,7 +48,7 @@ CREATE_RESERVATION_KEYS = {
"memory_mb": "",
"disk_gb": "",
"amount": "",
"affinity": "",
"affinity": "None",
"resource_properties": "",
"resource_type": 'virtual:instance'
},

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes creation of instance reservations when no affinity value is provided,
in which case affinity is set to ``None``.