From e5c38a40c17308e1f3649a90b0f14e0c96299dcb Mon Sep 17 00:00:00 2001 From: linggao Date: Thu, 19 Mar 2009 19:26:21 +0000 Subject: [PATCH] minor bug fix git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/monitoring/monitorctrl.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xCAT-server/lib/xcat/monitoring/monitorctrl.pm b/xCAT-server/lib/xcat/monitoring/monitorctrl.pm index 35d4105d0..cd72637ed 100644 --- a/xCAT-server/lib/xcat/monitoring/monitorctrl.pm +++ b/xCAT-server/lib/xcat/monitoring/monitorctrl.pm @@ -1325,6 +1325,11 @@ sub getNodeConfData { my %ret=(); #get monitoring server my $pHash=xCAT_monitoring::monitorctrl->getNodeMonServerPair([$node], 0); + if (ref($pHash) eq 'ARRAY') { + xCAT::MsgUtils->message('S', "[mon]: getPostScripts: " . $pHash->[1]); + return %ret; + } + my @pair_array=split(':', $pHash->{$node}); my $monserver=$pair_array[0]; if ($monserver eq 'noservicenode') { $monserver=hostname(); }