Skip to content

Commit 4039316

Browse files
committed
CSTACKEX-246: fixing a small error
1 parent 6007042 commit 4039316

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎engine/storage/volume/src/main/java/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ protected Void managedCopyBaseImageCallback(AsyncCallbackDispatcher<VolumeServic
737737

738738
volume.setPath(templateObjectTo.getPath());
739739

740-
if (templateObjectTo.getFormat() != null && volume.getFormat() != null) {
740+
if (templateObjectTo.getFormat() != null && volume.getFormat() == null) {
741741
volume.setFormat(templateObjectTo.getFormat());
742742
}
743743

0 commit comments

Comments
 (0)