From abdf84c60fc42e2373cceee1aa267d9e389d6323 Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 5 Dec 2013 09:51:53 +0800 Subject: [PATCH] fix for bug 3922, use getNodesAttribs instead of getNodeAttribs --- xCAT-server/lib/xcat/plugins/destiny.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 xCAT-server/lib/xcat/plugins/destiny.pm diff --git a/xCAT-server/lib/xcat/plugins/destiny.pm b/xCAT-server/lib/xcat/plugins/destiny.pm old mode 100644 new mode 100755 index bc840fb2b..3241678ef --- a/xCAT-server/lib/xcat/plugins/destiny.pm +++ b/xCAT-server/lib/xcat/plugins/destiny.pm @@ -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}) {