From 6731a9f869f39364444a2722018a395ab45716d0 Mon Sep 17 00:00:00 2001 From: nott Date: Mon, 17 Jan 2011 12:50:11 +0000 Subject: [PATCH] initialize type variable git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Utils.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index ec8255a2b..b1354308f 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -3820,11 +3820,16 @@ sub get_ServiceNode #----------------------------------------------------------------------------- sub getSNformattedhash { - my ($class, $node, $service, $request, $type) = @_; + my ($class, $node, $service, $request, $btype) = @_; my @node_list = @$node; my $cmd; my %newsnhash; + my $type=""; + if ($btype) { + $type=$btype; + } + # get the values of either the servicenode or xcatmaster attributes my $sn = xCAT::Utils->get_ServiceNode(\@node_list, $service, $request);