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 2013/05/02 19:38:31 UTC
svn commit: r1478462 -
/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/vSphere_SDK.pm
Author: arkurth
Date: Thu May 2 17:38:30 2013
New Revision: 1478462
URL: http://svn.apache.org/r1478462
Log:
VCL-685
Fixed typo on vSphere_SDK.pm. Subroutine call was unregister_vm instead of vm_unregister. Rarely hit the case where this bug existed.
Modified:
vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/vSphere_SDK.pm
Modified: vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/vSphere_SDK.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/vSphere_SDK.pm?rev=1478462&r1=1478461&r2=1478462&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/vSphere_SDK.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/vSphere_SDK.pm Thu May 2 17:38:30 2013
@@ -771,7 +771,7 @@ sub copy_virtual_disk {
);
# Unregister the VM, don't attempt to delete it or else the source vmdk may be deleted
- return unless $self->unregister_vm($existing_vmx_file_path);
+ return unless $self->vm_unregister($existing_vmx_file_path);
}
elsif ($existing_vmx_directory_path eq $clone_vm_directory_path) {
notify($ERRORS{'WARNING'}, 0, "existing VM using the directory of the VM clone will be deleted:\n" .