diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-06-22 10:08:29 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-06-22 10:08:29 -0400 |
commit | 9f7ce5f090689b664ffce7e0b4ac78bfeafd1a79 (patch) | |
tree | 9831898dbfe7767d750227bd5d748713260f1586 /cloudinit/sources/DataSourceConfigDrive.py | |
parent | a919f6e6ee3bfaf489411a4452fc708061b1239f (diff) | |
parent | 7a39cb35f54be3d91ab0985a96fcb3663f20124c (diff) | |
download | vyos-cloud-init-9f7ce5f090689b664ffce7e0b4ac78bfeafd1a79.tar.gz vyos-cloud-init-9f7ce5f090689b664ffce7e0b4ac78bfeafd1a79.zip |
user_data: fix error when user-data is not utf-8 decodable
when user-data was not decodable, cloud-init would raise exception.
This also changes the signature of user_data.convert_string.
The 'headers' argument was never used, and woudl have been broken
if it was, as it was expected to be a dictionary but then was
passed in with *headers.
LP: #1532072
Diffstat (limited to 'cloudinit/sources/DataSourceConfigDrive.py')
0 files changed, 0 insertions, 0 deletions