Skip to content

Commit a96f6b3

Browse files
committed
CLOUDSTACK-4459: fix silly bug, one more time
1 parent 8811435 commit a96f6b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStoragePool.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public KVMPhysicalDisk getPhysicalDisk(String volumeUuid) {
129129
try {
130130
disk = this._storageAdaptor.getPhysicalDisk(volumeUuid, this);
131131
} catch (CloudRuntimeException e) {
132-
if ((this.getStoragePoolType() != StoragePoolType.NetworkFilesystem) ||
132+
if ((this.getStoragePoolType() != StoragePoolType.NetworkFilesystem) &&
133133
(this.getStoragePoolType() != StoragePoolType.Filesystem)) {
134134
throw e;
135135
}

0 commit comments

Comments
 (0)