Fix problem where nodegrpch would fail to modify tables where 'nodecol' is not 'node'

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-06-18 16:34:33 +00:00
parent c79bcd7061
commit ec2e1f2e5f

View File

@ -1580,7 +1580,7 @@ sub nodech
if ($_ eq $nodekey) { next; } #skip attempts to manipulate 'node' type columns in a groupch
$clrhash{$_}="";
}
$tabhdl->setAttribs({node=>$entity},\%uhsh);
$tabhdl->setAttribs({$nodekey=>$entity},\%uhsh);
$changed=1;
$nodes = [noderange($entity)];
unless (scalar @$nodes) { next; }