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/13 13:40:25 UTC

[3/4] libcloud git commit: Fix bug in Dimension Data backup driver missing field information

Fix bug in Dimension Data backup driver missing field information


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

Branch: refs/heads/trunk
Commit: 2a3e9bdd1ade03db138c60a3e8d840f7687513b2
Parents: 48a3fb9
Author: anthony-shaw <an...@apache.org>
Authored: Wed Apr 13 19:28:53 2016 +1000
Committer: anthony-shaw <an...@apache.org>
Committed: Wed Apr 13 19:28:53 2016 +1000

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/2a3e9bdd/libcloud/backup/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/backup/drivers/dimensiondata.py b/libcloud/backup/drivers/dimensiondata.py
index a16b2e5..fc83a55 100644
--- a/libcloud/backup/drivers/dimensiondata.py
+++ b/libcloud/backup/drivers/dimensiondata.py
@@ -604,7 +604,7 @@ class DimensionDataBackupDriver(BackupDriver):
 
     def _to_backup_details(self, object, target):
         return DimensionDataBackupDetails(
-            asset_id=object.get('asset_id'),
+            asset_id=object.get('assetId'),
             service_plan=object.get('servicePlan'),
             status=object.get('state'),
             clients=self._to_clients(object, target)