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/trunk@13119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-06-18 16:34:42 +00:00
parent 0b5567ff3c
commit b45ccfc13e

View File

@ -1617,7 +1617,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; }