From b45ccfc13e9f5ba799c5470ce2d59f1a119d1875 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 18 Jun 2012 16:34:42 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/tabutils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/tabutils.pm b/xCAT-server/lib/xcat/plugins/tabutils.pm index bcd707bfa..88d086b8d 100644 --- a/xCAT-server/lib/xcat/plugins/tabutils.pm +++ b/xCAT-server/lib/xcat/plugins/tabutils.pm @@ -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; }