Author: acoburn
Date: Thu May 10 15:01:40 2012
New Revision: 1336733

URL: http://svn.apache.org/viewvc?rev=1336733&view=rev
Log:
VCL-499

Made code_loop_timeout calls into class method calls (rather than autoloaded
calls).


Modified:
    
incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/vSphere_SDK.pm

Modified: 
incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/vSphere_SDK.pm
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/vSphere_SDK.pm?rev=1336733&r1=1336732&r2=1336733&view=diff
==============================================================================
--- 
incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/vSphere_SDK.pm
 (original)
+++ 
incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/vSphere_SDK.pm
 Thu May 10 15:01:40 2012
@@ -1697,7 +1697,7 @@ sub copy_file_to {
        local $SIG{__DIE__} = sub{};
        
        # Attempt to copy the file -- make a few attempts since this can 
sometimes fail
-    return code_loop_timeout(
+    return $self->code_loop_timeout(
         sub{
             my $response;
             eval { $response = VIExt::http_put_file("folder" , 
$source_file_path, $destination_relative_datastore_path, 
$destination_datastore_name, $datacenter_name); };
@@ -1777,7 +1777,7 @@ sub copy_file_from {
        local $SIG{__DIE__} = sub{};
        
     # Attempt to copy the file -- make a few attempts since this can sometimes 
fail
-    return code_loop_timeout(
+    return $self->code_loop_timeout(
         sub{
             my $response;
             eval { $response = VIExt::http_get_file("folder", 
$source_file_relative_datastore_path, $source_datastore_name, $datacenter_name, 
$destination_file_path); };


Reply via email to