commit 95e1db84bc7c9bb83ca3081d613b013427b7ed56
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
Reviewed: https:/ /review. openstack. org/465482 /git.openstack. org/cgit/ openstack/ nova-lxd/ commit/ ?id=95e1db84bc7 c9bb83ca3081d61 3b013427b7ed56
Committed: https:/
Submitter: Jenkins
Branch: master
commit 95e1db84bc7c9bb 83ca3081d613b01 3427b7ed56
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
Closes-Bug: 1691428