Files
heat/releasenotes/notes/heat-decode-files-read-from-containers-fe2bbb0b48a69717.yaml
Frank Berghaus 3533e88bb7 Decode object content to string
HEAT expects values in the file map to be strings. Contents of swift
objects are returned as bytes and therefor must be decoded. Add logic to
decode the returned object if it is bytes, otherwise return it as is.

Story: 2011302
Task: 51427
Change-Id: I01a2d3f9191ba1d7382c7cdcb033cb0936e113f6
2025-02-17 02:33:34 +00:00

8 lines
271 B
YAML

---
fixes:
- |
Fixed the consistent type mismatch error caused by creating or updating
a stack with files stored in OpenStack Swift containers, using
the `files_container` parameter. Now file content is always decoded and
can be used as a string value.