From 1a32e4fe24100654905bdf4c412ed26d1eac66fd Mon Sep 17 00:00:00 2001 From: daniceexi Date: Wed, 18 Nov 2009 06:51:59 +0000 Subject: [PATCH] defect: 2898961: remove the redundant error message git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4599 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/updatenode.pm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/updatenode.pm b/xCAT-server/lib/xcat/plugins/updatenode.pm index c7fe34763..fe93b6b2b 100644 --- a/xCAT-server/lib/xcat/plugins/updatenode.pm +++ b/xCAT-server/lib/xcat/plugins/updatenode.pm @@ -334,12 +334,8 @@ sub preprocess_updatenode &doAIXcopy($callback, \%attrvals, $AIXnodes, $subreq); if ($rc != 0) { - my $rsp; - push @{$rsp->{data}}, "Could not copy software to service nodes.\n"; - xCAT::MsgUtils->message("E", $rsp, $callback); - return \@requests; - - #return undef; ??? + # Do nothing when doAIXcopy failed + return undef; } } @@ -919,7 +915,7 @@ sub doAIXcopy { my $rsp; push @{$rsp->{data}}, - "The osimage \'$img\' is not a standalone type. \nThe updatenode command can only be used for standalone (diskfull) type nodes. \nUse the mknimimage comamand to update diskless osimages."; + "The osimage \'$img\' is not a standalone type. \nThe software maintenance function of updatenode command can only be used for standalone (diskfull) type nodes. \nUse the mknimimage comamand to update diskless osimages."; xCAT::MsgUtils->message("E", $rsp, $callback); return 1; }