cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From weiz...@apache.org
Subject git commit: updated refs/heads/master to 5c141a4
Date Thu, 05 Sep 2013 09:16:22 GMT
Updated Branches:
  refs/heads/master 7bff499bd -> 5c141a46f


CLOUDSTACK-4610: fix incorrect value available_bytes of storage pool


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

Branch: refs/heads/master
Commit: 5c141a46fc3f684fd633d8b1b18f708ccccbcff4
Parents: 7bff499
Author: Wei Zhou <w.zhou@leaseweb.com>
Authored: Thu Sep 5 11:16:12 2013 +0200
Committer: Wei Zhou <w.zhou@leaseweb.com>
Committed: Thu Sep 5 11:16:12 2013 +0200

----------------------------------------------------------------------
 .../cloud/hypervisor/kvm/resource/LibvirtComputingResource.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5c141a46/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
index b56f3ca..94ee9ae 100755
--- a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
+++ b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
@@ -2629,7 +2629,7 @@ ServerResource {
 
         Map<String, TemplateProp> tInfo = new HashMap<String, TemplateProp>();
         ModifyStoragePoolAnswer answer = new ModifyStoragePoolAnswer(cmd,
-                storagepool.getCapacity(), storagepool.getUsed(), tInfo);
+                storagepool.getCapacity(), storagepool.getAvailable(), tInfo);
 
         return answer;
     }


Mime
View raw message