initialize type variable

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2011-01-17 12:50:11 +00:00
parent e9de694a60
commit 6731a9f869

View File

@ -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);