You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by fa...@apache.org on 2009/05/06 17:20:16 UTC

svn commit: r772300 - /incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/vmware.pm

Author: fapeeler
Date: Wed May  6 15:20:15 2009
New Revision: 772300

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

changed return value for node_status to always return hash
- if node was not pingable it returned a scalar value with just "RELOAD"
- tobe consistent - removed the return value at affected check


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

Modified: incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/vmware.pm
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/vmware.pm?rev=772300&r1=772299&r2=772300&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/vmware.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/vmware.pm Wed May  6 15:20:15 2009
@@ -2134,7 +2134,7 @@
 	else {
 		notify($ERRORS{'OK'}, $log, "$vmclient_shortname is not pingable ($status{ping})");
 		$status{status} = 'RELOAD';
-		return $status{status};
+		$status{ping}         = 0;
 	}
 
 	my $vmx_directory = "$requestedimagename$vmclient_shortname";