mirror of https://github.com/apache/cloudstack.git
However in case of createVolume from Snapshot, there is no VM associated. So VM passed is null and this can cause a NPE. Allocators hardly use the VM instance. LocalStoragePoolAllocator was mainly using it for checking if host has capacity. But it need not do this check, since that is done by HostAllocators anyway. So removing the use of VM in StoragePoolAllocators. |
||
|---|---|---|
| .. | ||
| conf | ||
| scripts | ||
| src/com/cloud | ||
| test | ||
| .classpath | ||
| .project | ||