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:
		| @@ -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']); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user