vcl-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arku...@apache.org
Subject svn commit: r1792952 - /vcl/trunk/managementnode/lib/VCL/Module/Provisioning/libvirt/KVM.pm
Date Thu, 27 Apr 2017 19:55:28 GMT
Author: arkurth
Date: Thu Apr 27 19:55:28 2017
New Revision: 1792952

URL: http://svn.apache.org/viewvc?rev=1792952&view=rev
Log:
VCL-911
Oops. Forgot to remove a 'if (1)' condition used for testing in the previous commit.

Modified:
    vcl/trunk/managementnode/lib/VCL/Module/Provisioning/libvirt/KVM.pm

Modified: vcl/trunk/managementnode/lib/VCL/Module/Provisioning/libvirt/KVM.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/libvirt/KVM.pm?rev=1792952&r1=1792951&r2=1792952&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/Provisioning/libvirt/KVM.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/Provisioning/libvirt/KVM.pm Thu Apr 27 19:55:28
2017
@@ -602,7 +602,7 @@ sub copy_virtual_disk {
 	my $options = '';
 	# VCL-911: If copying to the repository, save the image qcow2 version 0.10, the traditional
image format that can be read by any QEMU since 0.10
 	my $repository_image_file_path = $self->get_repository_image_file_path();
-	if (1 || $destination_file_path eq $repository_image_file_path) {
+	if ($destination_file_path eq $repository_image_file_path) {
 		$options .= ' -o compat=0.10';
 	}
 	



Mime
View raw message