You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2016/04/07 04:01:34 UTC
libcloud git commit: merge changes from previous PR Closes #740
Repository: libcloud
Updated Branches:
refs/heads/trunk d8e19f6ac -> 3d88c3d92
merge changes from previous PR
Closes #740
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/3d88c3d9
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/3d88c3d9
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/3d88c3d9
Branch: refs/heads/trunk
Commit: 3d88c3d9225f915e106ce5eb3b26ac387e52fa17
Parents: d8e19f6
Author: anthony-shaw <an...@gmail.com>
Authored: Thu Apr 7 12:00:24 2016 +1000
Committer: anthony-shaw <an...@gmail.com>
Committed: Thu Apr 7 12:01:12 2016 +1000
----------------------------------------------------------------------
libcloud/compute/drivers/dimensiondata.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/3d88c3d9/libcloud/compute/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/dimensiondata.py b/libcloud/compute/drivers/dimensiondata.py
index a49c9ae..d618a33 100644
--- a/libcloud/compute/drivers/dimensiondata.py
+++ b/libcloud/compute/drivers/dimensiondata.py
@@ -1377,9 +1377,8 @@ class DimensionDataNodeDriver(NodeDriver):
dest_port.set('begin', rule.destination.port_begin)
if rule.destination.port_end is not None:
dest_port.set('end', rule.destination.port_end)
- ET.SubElement(create_node, "enabled").text = rule.enabled
-
# Set up positioning of rule
+ ET.SubElement(create_node, "enabled").text = str(rule.enabled).lower()
placement = ET.SubElement(create_node, "placement")
if position_relative_to_rule is not None:
if position not in positions_with_rule: