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/01/22 21:33:59 UTC
svn commit: r736784 - /incubator/vcl/trunk/managementnode/lib/VCL/new.pm
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");