summaryrefslogtreecommitdiff
path: root/integration-requirements.txt
diff options
context:
space:
mode:
authoreb3095 <45504889+eb3095@users.noreply.github.com>2021-03-16 12:35:05 -0400
committerGitHub <noreply@github.com>2021-03-16 11:35:05 -0500
commitf35181fa970453ba6c7c14575b12185533391b97 (patch)
treebe7334c5ffa3fba08357d0499386ef40f14d6ea2 /integration-requirements.txt
parent3aeb14cd46613b97afefc4632909f6e9b83d0230 (diff)
downloadvyos-cloud-init-f35181fa970453ba6c7c14575b12185533391b97.tar.gz
vyos-cloud-init-f35181fa970453ba6c7c14575b12185533391b97.zip
Fix stack trace if vendordata_raw contained an array (#837)
The implementation in existing datasources means that vendordata_raw is not "raw" as it ideally would be. Instead, actual values may include bytes, string or list. If the value was a list, then the attempt to persist that data to a file in '_store_rawdata' would raise a TypeError. The change is to encode with util.json_dumps (which is safe for binary data) before writing.
Diffstat (limited to 'integration-requirements.txt')
0 files changed, 0 insertions, 0 deletions