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:
parent
e9de694a60
commit
6731a9f869
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user