commit d7b8e7013be4208c699ecde4224f03bc31d56cf8
Author: James Page <email address hidden>
Date: Wed May 17 10:43:40 2017 +0100
Pass readonly flag as a string, not a boolean.
The LXD API requires that data be passed as strings; pass the
readonly flag for config-drive support as a string to ensure
it can be parsed by LXD avoiding the following error:
json: cannot unmarshal bool into Go value of type string
Change-Id: I0c5dbd9cb8b8ea4f43398849f8b4c33305231d54
Closes-Bug: 1691428
(cherry picked from commit 73e33e6ebd1b0ecee76b29835274406ac2a00bd4)
Reviewed: https:/ /review. openstack. org/465483 /git.openstack. org/cgit/ openstack/ nova-lxd/ commit/ ?id=d7b8e7013be 4208c699ecde422 4f03bc31d56cf8
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit d7b8e7013be4208 c699ecde4224f03 bc31d56cf8
Author: James Page <email address hidden>
Date: Wed May 17 10:43:40 2017 +0100
Pass readonly flag as a string, not a boolean.
The LXD API requires that data be passed as strings; pass the
readonly flag for config-drive support as a string to ensure
it can be parsed by LXD avoiding the following error:
json: cannot unmarshal bool into Go value of type string
Change-Id: I0c5dbd9cb8b8ea 4f43398849f8b4c 33305231d54 ee76b2983527440 6ac2a00bd4)
Closes-Bug: 1691428
(cherry picked from commit 73e33e6ebd1b0ec