You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by ar...@apache.org on 2017/04/27 19:55:28 UTC

svn commit: r1792952 - /vcl/trunk/managementnode/lib/VCL/Module/Provisioning/libvirt/KVM.pm

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';
 	}