mirror of https://github.com/apache/cloudstack.git
Getting volume from snapshot working again... odd
This commit is contained in:
parent
66fed462b6
commit
6db4b7b0be
|
|
@ -114,6 +114,9 @@ public class Ovm3StorageProcessor implements StorageProcessor {
|
|||
} else if ((srcData.getObjectType() == DataObjectType.SNAPSHOT)
|
||||
&& (destData.getObjectType() == DataObjectType.TEMPLATE)) {
|
||||
return createTemplateFromSnapshot(cmd);
|
||||
} else if ((srcData.getObjectType() == DataObjectType.SNAPSHOT)
|
||||
&& (destData.getObjectType() == DataObjectType.VOLUME)) {
|
||||
return createVolumeFromSnapshot(cmd);
|
||||
} else {
|
||||
msg = "Unable to do stuff for " + srcStore.getClass() + ":"
|
||||
+ srcData.getObjectType() + " to "
|
||||
|
|
|
|||
Loading…
Reference in New Issue