CLOUDSTACK-4459: fix silly bug, one more time

This commit is contained in:
Edison Su 2013-08-29 14:24:35 -07:00
parent 88114350c7
commit a96f6b306b
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ public class LibvirtStoragePool implements KVMStoragePool {
try {
disk = this._storageAdaptor.getPhysicalDisk(volumeUuid, this);
} catch (CloudRuntimeException e) {
if ((this.getStoragePoolType() != StoragePoolType.NetworkFilesystem) ||
if ((this.getStoragePoolType() != StoragePoolType.NetworkFilesystem) &&
(this.getStoragePoolType() != StoragePoolType.Filesystem)) {
throw e;
}