-Skip abbreviating single nodes to one-sized groups
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
7fd9270d00
commit
863888a7ab
@ -264,6 +264,8 @@ sub abbreviate_noderange {
|
||||
}
|
||||
|
||||
foreach $group (keys %grouphash) {
|
||||
#skip single node sized groups, these outliers frequently pasted into non-noderange capable contexts
|
||||
if (scalar @{$grouphash{$group}} < 2) { next; }
|
||||
push @{$sizedgroups{scalar @{$grouphash{$group}}}},$group;
|
||||
}
|
||||
my $node;
|
||||
|
Loading…
Reference in New Issue
Block a user