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/03/26 11:04:58 UTC
[2/6] libcloud git commit: Making it so enabled is able to be set
Making it so enabled is able to be set
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/a88cd538
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/a88cd538
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/a88cd538
Branch: refs/heads/trunk
Commit: a88cd538e88280f96d4632cab94d87110edf9f5b
Parents: cf00eee
Author: Jeffrey Dunham <je...@gmail.com>
Authored: Thu Mar 24 12:35:15 2016 -0400
Committer: anthony-shaw <an...@gmail.com>
Committed: Sat Mar 26 21:04:19 2016 +1100
----------------------------------------------------------------------
libcloud/compute/drivers/dimensiondata.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/a88cd538/libcloud/compute/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/dimensiondata.py b/libcloud/compute/drivers/dimensiondata.py
index ab77288..4b999c2 100644
--- a/libcloud/compute/drivers/dimensiondata.py
+++ b/libcloud/compute/drivers/dimensiondata.py
@@ -1332,7 +1332,7 @@ 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 = 'true'
+ ET.SubElement(create_node, "enabled").text = rule.enabled
# Set up positioning of rule
placement = ET.SubElement(create_node, "placement")