From d8eba5c0c2865131b56dd2803572450f0292594f Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 4 Mar 2010 22:02:29 +0000 Subject: [PATCH] -Correct noderange check in last update git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5370 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/litetree.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/litetree.pm b/xCAT-server/lib/xcat/plugins/litetree.pm index 666fd120f..36c264175 100644 --- a/xCAT-server/lib/xcat/plugins/litetree.pm +++ b/xCAT-server/lib/xcat/plugins/litetree.pm @@ -64,7 +64,8 @@ sub process_request { # if request comes from node post script .awk file. }elsif($request->{'_xcat_clienthost'}){ - $noderange = noderange($request->{'_xcat_clienthost'}.",".$request->{'_xcat_clientfqdn'}); + my @nodenames = noderange($request->{'_xcat_clienthost'}.",".$request->{'_xcat_clientfqdn'}); + $noderange = $nodenames[0]; }else{ $callback->({error=>["Well Kemosabi, I can't figure out who you are."],errorcode=>[1]}); return;