fix syntax error in TableUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
35b563f43d
commit
f7fa23352c
@ -630,12 +630,11 @@ sub cpSSHFiles
|
||||
sub GetNodeOSARCH
|
||||
{
|
||||
my ($class, $node) = @_;
|
||||
my $noderestab = xCAT::Table->new('noderes');
|
||||
#my $typetab = xCAT::Table->new('nodetype');
|
||||
unless ($noderestab)
|
||||
my $typetab = xCAT::Table->new('nodetype');
|
||||
unless ($typetab)
|
||||
{
|
||||
xCAT::MsgUtils->message('S',
|
||||
"Unable to open noderes or nodetype table.\n");
|
||||
"Unable to open nodetype table.\n");
|
||||
return 1;
|
||||
}
|
||||
my $et = $typetab->getNodeAttribs($node, ['os', 'arch']);
|
||||
|
Loading…
Reference in New Issue
Block a user