Fix casing inconsistency

Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/6d9e820a
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/6d9e820a
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/6d9e820a

Branch: refs/heads/trunk
Commit: 6d9e820ae674a2388303eedc760602ccbeada147
Parents: 8c64e17
Author: anthony-shaw <anthony.p.s...@gmail.com>
Authored: Thu Feb 18 13:19:31 2016 +1100
Committer: anthony-shaw <anthony.p.s...@gmail.com>
Committed: Thu Feb 18 13:19:31 2016 +1100

----------------------------------------------------------------------
 libcloud/loadbalancer/drivers/dimensiondata.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/6d9e820a/libcloud/loadbalancer/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/loadbalancer/drivers/dimensiondata.py 
b/libcloud/loadbalancer/drivers/dimensiondata.py
index f7db258..2508fca 100644
--- a/libcloud/loadbalancer/drivers/dimensiondata.py
+++ b/libcloud/loadbalancer/drivers/dimensiondata.py
@@ -560,7 +560,7 @@ class DimensionDataLBDriver(Driver):
                                    ex_description,
                                    port,
                                    pool,
-                                   listenerIpAddress=None,
+                                   listener_ip_address=None,
                                    persistence_profile=None,
                                    fallback_persistence_profile=None,
                                    irule=None,
@@ -586,8 +586,8 @@ class DimensionDataLBDriver(Driver):
         :param pool: The pool to use for the listener
         :type  pool: :class:`DimensionDataPool`
 
-        :param listenerIpAddress: The IPv4 Address of the virtual listener
-        :type listenerIpaddress: ``str``
+        :param listener_ip_address: The IPv4 Address of the virtual listener
+        :type  listener_ip_address: ``str``
 
         :param persistence_profile: Persistence profile
         :type  persistence_profile: :class:`DimensionDataPersistenceProfile`
@@ -633,9 +633,9 @@ class DimensionDataLBDriver(Driver):
         ET.SubElement(create_node_elm, "type").text = listener_type
         ET.SubElement(create_node_elm, "protocol") \
             .text = protocol
-        if listenerIpAddress is not None:
+        if listener_ip_address is not None:
             ET.SubElement(create_node_elm, "listenerIpAddress").text = \
-                str(listenerIpAddress)
+                str(listener_ip_address)
         ET.SubElement(create_node_elm, "port").text = str(port)
         ET.SubElement(create_node_elm, "enabled").text = 'true'
         ET.SubElement(create_node_elm, "connectionLimit") \

Reply via email to