cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject [2/3] git commit: updated refs/heads/object_store_migration to 216d034
Date Sat, 26 Oct 2013 05:49:48 GMT
Add back initialization of _maxVolumeSizeInGb in VolumeApiServiceImpl.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/0f0370b9
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0f0370b9
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0f0370b9

Branch: refs/heads/object_store_migration
Commit: 0f0370b9ab37fb03a26e5a0658e6227497299aff
Parents: 2c05347
Author: Min Chen <min.chen@citrix.com>
Authored: Fri Oct 25 21:24:08 2013 -0700
Committer: Min Chen <min.chen@citrix.com>
Committed: Fri Oct 25 21:46:03 2013 -0700

----------------------------------------------------------------------
 server/src/com/cloud/storage/VolumeApiServiceImpl.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0f0370b9/server/src/com/cloud/storage/VolumeApiServiceImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/storage/VolumeApiServiceImpl.java b/server/src/com/cloud/storage/VolumeApiServiceImpl.java
index cfb54f0..aa8d792 100644
--- a/server/src/com/cloud/storage/VolumeApiServiceImpl.java
+++ b/server/src/com/cloud/storage/VolumeApiServiceImpl.java
@@ -1734,6 +1734,8 @@ public class VolumeApiServiceImpl extends ManagerBase implements VolumeApiServic
         String _customDiskOfferingMinSizeStr = _configDao.getValue(Config.CustomDiskOfferingMinSize.toString());
         _customDiskOfferingMinSize = NumbersUtil.parseInt(_customDiskOfferingMinSizeStr,
Integer.parseInt(Config.CustomDiskOfferingMinSize.getDefaultValue()));
 
+        String maxVolumeSizeInGbString = _configDao.getValue(Config.MaxVolumeSize.toString());
+        _maxVolumeSizeInGb = NumbersUtil.parseLong(maxVolumeSizeInGbString, 2000);
         return true;
     }
 


Mime
View raw message