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 2010/08/04 18:49:40 UTC
svn commit: r982327 - /incubator/vcl/trunk/managementnode/lib/VCL/new.pm
Author: fapeeler
Date: Wed Aug 4 16:49:40 2010
New Revision: 982327
URL: http://svn.apache.org/viewvc?rev=982327&view=rev
Log:
VCL-364
removed call to set vmhostid to null
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=982327&r1=982326&r2=982327&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/new.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/new.pm Wed Aug 4 16:49:40 2010
@@ -147,19 +147,15 @@ sub process {
notify($ERRORS{'OK'}, 0, "$computer_short_name set to maintenance");
}
- # Set vmhostid to null
- if (switch_vmhost_id($computer_id, 'NULL')) {
- notify($ERRORS{'OK'}, 0, "$computer_short_name vmhostid removed");
-
- if ($self->provisioner->can("post_maintenance_action")) {
- if ($self->provisioner->post_maintenance_action()) {
- notify($ERRORS{'OK'}, 0, "post action completed $computer_short_name");
- }
- }
- else {
- notify($ERRORS{'OK'}, 0, "post action skipped, post_maintenance_action not implemented by " . ref($self->provisioner) . ", assuming no steps required");
+
+ if ($self->provisioner->can("post_maintenance_action")) {
+ if ($self->provisioner->post_maintenance_action()) {
+ notify($ERRORS{'OK'}, 0, "post action completed $computer_short_name");
}
- } ## end if (switch_vmhost_id($computer_id, 'NULL'))
+ }
+ else {
+ notify($ERRORS{'OK'}, 0, "post action skipped, post_maintenance_action not implemented by " . ref($self->provisioner) . ", assuming no steps required");
+ }
notify($ERRORS{'OK'}, 0, "exiting");
exit;