mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5737: isExternalSnapshot should return true for CLVM and RBD only
This commit is contained in:
parent
7416988c58
commit
b1bba4b3fb
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue