libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [1/4] libcloud git commit: Making create_target in line with all the other dictionaries with camelcase
Date Tue, 15 Mar 2016 21:12:57 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk 18d4c42e9 -> af7376cd3


Making create_target in line with all the other dictionaries with camelcase


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

Branch: refs/heads/trunk
Commit: 9b2aef87b12bf5dd6f5125289f31b49f25c9b348
Parents: b6f38b9
Author: Jeffrey Dunham <jeffrey.a.dunham@gmail.com>
Authored: Tue Mar 8 23:07:38 2016 -0500
Committer: anthony-shaw <anthony.p.shaw@gmail.com>
Committed: Wed Mar 16 08:12:26 2016 +1100

----------------------------------------------------------------------
 libcloud/backup/drivers/dimensiondata.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/9b2aef87/libcloud/backup/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/backup/drivers/dimensiondata.py b/libcloud/backup/drivers/dimensiondata.py
index 7905b33..6645169 100644
--- a/libcloud/backup/drivers/dimensiondata.py
+++ b/libcloud/backup/drivers/dimensiondata.py
@@ -113,7 +113,7 @@ class DimensionDataBackupDriver(BackupDriver):
 
         :rtype: Instance of :class:`BackupTarget`
         """
-        service_plan = extra.get('service_plan', 'Advanced')
+        service_plan = extra.get('servicePlan', 'Advanced')
         create_node = ET.Element('NewBackup',
                                  {'xmlns': BACKUP_NS})
         create_node.set('servicePlan', service_plan)


Mime
View raw message