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 edison
parent 3964a566f7
commit 07ad69cebf
1 changed files with 3 additions and 4 deletions

View File

@ -181,11 +181,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