CLOUDSTACK-5737: isExternalSnapshot should return true for CLVM and RBD only

This commit is contained in:
Edison Su 2013-11-06 15:32:19 -08:00 committed by Anthony Xu
parent 7416988c58
commit b1bba4b3fb
1 changed files with 3 additions and 4 deletions

View File

@ -178,11 +178,10 @@ public class LibvirtStoragePool implements KVMStoragePool {
@Override
public boolean isExternalSnapshot() {
if (this.type == StoragePoolType.Filesystem) {
return false;
if (this.type == StoragePoolType.CLVM || type == StoragePoolType.RBD) {
return true;
}
return true;
return false;
}
@Override