2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

Sort nodels attribute names

The ordering of attribute names out of nodels
is inconsistent.  Use sort to provide consistent
output
This commit is contained in:
Jarrod Johnson 2017-10-24 16:19:26 -04:00
parent 869642ed69
commit 358ea0584f

View File

@ -2066,7 +2066,7 @@ sub nodels
my %satisfiedreqs = ();
foreach my $rec (@$recs) {
foreach (keys %$rec)
foreach (sort keys %$rec)
{
if ($_ eq '!!xcatgroupattribution!!') { next; }
if ($_ eq $nodekey and $removenodecol) { next; }