cloudkitty/releasenotes/notes/fix-hashmap-mapping-value-match-56570510203ce3e5.yaml
Luka Peschke 8ea14cb188 Fix HashMap field mapping comparison
This fixes hashmap field mapping comparisons by ensuring that the
metadata to compare is a string. Some metadatas can be integers or floats
(vcpus or ram for example). Given that field values are stored as strings,
these values did never match.

Change-Id: I6d768418d2e91ab62d6af4cb670c148424828fd4
2019-03-26 17:24:00 +01:00

8 lines
312 B
YAML

---
fixes:
- |
HashMap module field mapping matching has been fixed: Field mapping values
are always stored as strings. However, metadatas to match can be floats or
integers (eg vcpus or ram). Given that mappings were matched with ``==``
until now, integers or float metadatas did never match.