libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [3/4] libcloud git commit: Fix bug in Dimension Data backup driver missing field information
Date Wed, 13 Apr 2016 11:40:25 GMT
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 <anthonyshaw@apache.org>
Authored: Wed Apr 13 19:28:53 2016 +1000
Committer: anthony-shaw <anthonyshaw@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)


Mime
View raw message