diff --git a/xCAT-server/lib/xcat/plugins/tabutils.pm b/xCAT-server/lib/xcat/plugins/tabutils.pm index 26c9edebd..8452585ef 100644 --- a/xCAT-server/lib/xcat/plugins/tabutils.pm +++ b/xCAT-server/lib/xcat/plugins/tabutils.pm @@ -1338,7 +1338,7 @@ sub nodels } else { - foreach sort (@$nodes) + foreach (sort @$nodes) { my $noderec; $noderec->{name}->[0] = ($_);