Getting volume from snapshot working again... odd

This commit is contained in:
Funs Kessen 2015-10-23 16:50:26 +02:00
parent 66fed462b6
commit 6db4b7b0be
1 changed files with 3 additions and 0 deletions

View File

@ -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 "