Author: fapeeler
Date: Thu Jan 22 12:33:59 2009
New Revision: 736784

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

temporary fix, changed conditional to check computer_state_name instead of 
request_state_name  to force a reload. This is until we decide on another 
specific state which would be better designed to force a reload.

Modified:
    incubator/vcl/trunk/managementnode/lib/VCL/new.pm

Modified: incubator/vcl/trunk/managementnode/lib/VCL/new.pm
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/new.pm?rev=736784&r1=736783&r2=736784&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/new.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/new.pm Thu Jan 22 12:33:59 2009
@@ -568,7 +568,7 @@
                notify($ERRORS{'OK'}, 0, "node status not checked, 
node_status() not implemented by " . ref($self->provisioner) . ", assuming 
load=true");
        }
 
-       if ($request_state_name eq 'reload') {
+       if ($computer_state_name eq 'reload') {
                # Always call load() if state is reload regardless of 
node_status()
                # Admin-initiated reloads will always cause node to be reloaded
                notify($ERRORS{'OK'}, 0, "request state is $request_state_name, 
node will be reloaded regardless of status");


Reply via email to