From c78350a9bf5a4b195af2f814d860abe1514efc94 Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 5 Dec 2013 09:46:44 +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 1321ec900..9c81f1290 --- a/xCAT-server/lib/xcat/plugins/destiny.pm +++ b/xCAT-server/lib/xcat/plugins/destiny.pm @@ -362,7 +362,7 @@ sub setdestiny { my @entries = xCAT::TableUtils->get_site_attribute("master"); my $master_entry = $entries[0]; 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}) {