fix for bug 3922, use getNodesAttribs instead of getNodeAttribs
This commit is contained in:
parent
e4f555bd71
commit
abdf84c60f
2
xCAT-server/lib/xcat/plugins/destiny.pm
Normal file → Executable file
2
xCAT-server/lib/xcat/plugins/destiny.pm
Normal file → Executable file
@ -236,7 +236,7 @@ sub setdestiny {
|
||||
(my $portent) = $sitetab->getAttribs({key=>'xcatdport'},'value');
|
||||
(my $mastent) = $sitetab->getAttribs({key=>'master'},'value');
|
||||
my $enthash = $nodetype->getNodesAttribs(\@nodes,[qw(arch)]);
|
||||
my $resents = $restab->getNodeAttribs(\@nodes,[qw(xcatmaster)]);
|
||||
my $resents = $restab->getNodesAttribs(\@nodes,[qw(xcatmaster)]);
|
||||
foreach (@nodes) {
|
||||
my $ent = $enthash->{$_}->[0]; #$nodetype->getNodeAttribs($_,[qw(arch)]);
|
||||
unless ($ent and $ent->{arch}) {
|
||||
|
Loading…
Reference in New Issue
Block a user