Repository: libcloud Updated Branches: refs/heads/trunk 11e6d8841 -> c35222511
False.lower() doesn't work. Closes #411 Signed-off-by: Tomaz Muraus <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/c3522251 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/c3522251 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/c3522251 Branch: refs/heads/trunk Commit: c3522251163208f975b478ce632ac09b8af411d6 Parents: 11e6d88 Author: Tom Prince <[email protected]> Authored: Wed Dec 3 21:45:00 2014 -0700 Committer: Tomaz Muraus <[email protected]> Committed: Thu Dec 4 16:09:17 2014 +0100 ---------------------------------------------------------------------- libcloud/compute/drivers/openstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/c3522251/libcloud/compute/drivers/openstack.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/openstack.py b/libcloud/compute/drivers/openstack.py index 056d016..1688c5f 100644 --- a/libcloud/compute/drivers/openstack.py +++ b/libcloud/compute/drivers/openstack.py @@ -1990,7 +1990,7 @@ class OpenStack_1_1_NodeDriver(OpenStackNodeDriver): image = api_node.get('image', None) image_id = image.get('id', None) if image else None - if api_node.get("config_drive", False).lower() == "true": + if api_node.get("config_drive", "false").lower() == "true": config_drive = True else: config_drive = False
