CLOUDSTACK-4610: fix incorrect value available_bytes of storage pool

This commit is contained in:
Wei Zhou 2013-09-05 11:16:12 +02:00
parent 7bff499bd3
commit 5c141a46fc
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}