CLOUDSTACK-4610: fix incorrect value available_bytes of storage pool

(cherry picked from commit 5c141a46fc)
This commit is contained in:
Wei Zhou 2013-09-05 11:16:12 +02:00
parent ab60e9eae9
commit 13a0619732
1 changed files with 1 additions and 1 deletions

View File

@ -2663,7 +2663,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;
}