mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5022 - [Automation] Failed to create volume from snapshot in KVM
This commit is contained in:
parent
ba8be7cbed
commit
89206094ae
|
|
@ -1159,7 +1159,7 @@ public class KVMStorageProcessor implements StorageProcessor {
|
|||
DataTO destData = cmd.getDestTO();
|
||||
PrimaryDataStoreTO pool = (PrimaryDataStoreTO) destData.getDataStore();
|
||||
DataStoreTO imageStore = srcData.getDataStore();
|
||||
VolumeObjectTO volume = snapshot.getVolume();
|
||||
VolumeObjectTO volume = (VolumeObjectTO)destData;
|
||||
|
||||
if (!(imageStore instanceof NfsTO)) {
|
||||
return new CopyCmdAnswer("unsupported protocol");
|
||||
|
|
|
|||
Loading…
Reference in New Issue