commit 39c807b9b3d434c0f2552d3552aea7b236ab12e5
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 95e1db84bc7c9bb83ca3081d613b013427b7ed56)
Reviewed: https:/ /review. openstack. org/465485 /git.openstack. org/cgit/ openstack/ nova-lxd/ commit/ ?id=39c807b9b3d 434c0f2552d3552 aea7b236ab12e5
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 39c807b9b3d434c 0f2552d3552aea7 b236ab12e5
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 83ca3081d613b01 3427b7ed56)
Closes-Bug: 1691428
(cherry picked from commit 95e1db84bc7c9bb