Skip to content

Commit 0d02e93

Browse files
Update plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/KVMStorageProcessor.java
Co-authored-by: dahn <[email protected]>
1 parent f569246 commit 0d02e93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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
@@ -2392,7 +2392,7 @@ public Answer handleDownloadTemplateToPrimaryStorage(DirectDownloadCommand cmd)
23922392
}
23932393
//Check template path is not empty and points to existing local file to validate
23942394
if (StringUtils.isEmpty(templatePath)) {
2395-
s_logger.warn("Skipped validation whether downloaded file is QCOW2 due to downloaded template path is empty");
2395+
s_logger.warn(String.format("Skipped validation whether downloaded file is QCOW2 due to downloaded template path is empty for template %s", template.getName()));
23962396
return new DirectDownloadAnswer(false, "Downloaded template path is empty.", true);
23972397
} else if (!new File(templatePath).exists()) {
23982398
s_logger.warn(String.format("Skipped validation whether downloaded file for %s is QCOW2 due to downloaded template path is not valid: %s", template.getName(), templatePath));

0 commit comments

Comments
 (0)