Author: arkurth
Date: Thu May 17 20:06:43 2012
New Revision: 1339835

URL: http://svn.apache.org/viewvc?rev=1339835&view=rev
Log:
VCL-503
Diff tool accidentally chopped off part of last commit.

Modified:
    incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm

Modified: incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm?rev=1339835&r1=1339834&r2=1339835&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm Thu May 17 20:06:43 
2012
@@ -1813,6 +1813,12 @@ sub get_file_contents {
 
 sub execute {
 #return execute_new(@_);
+       my ($argument) = @_;
+       my ($computer_name, $command, $display_output, $timeout_seconds, 
$max_attempts, $port, $user, $password, $identity_key, $ignore_error);
+       
+       # Check if this subroutine was called as an object method
+       if (ref($argument) && ref($argument) =~ /VCL::Module/) {
+               # Subroutine was called as an object method ($self->execute)
                my $self = shift;
                ($argument) = @_;
                


Reply via email to