Skip to content

Commit 276916a

Browse files
committed
log warning as opposed to throwing exception
1 parent 45c3819 commit 276916a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/KVMStorageProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2309,7 +2309,7 @@ private KVMPhysicalDisk createVolumeFromSnapshotOnNFS(CopyCommand cmd, PrimaryDa
23092309
if (path == null) {
23102310
path = details != null ? details.get(DiskTO.IQN) : null;
23112311
if (path == null) {
2312-
throw new CloudRuntimeException("The 'path' or 'iqn' field must be specified.");
2312+
logger.warn("The 'path' or 'iqn' field must be specified.");
23132313
}
23142314
}
23152315
}

0 commit comments

Comments
 (0)