forked from lix-project/hydra
BuildDiff: bring back the sort
This commit is contained in:
parent
1ca786561f
commit
98375e9086
|
@ -17,13 +17,13 @@ sub cmpBuilds {
|
|||
|| $left->get_column('system') cmp $right->get_column('system')
|
||||
}
|
||||
|
||||
# $builds = sort { cmpBuilds($a, $b) } $builds;
|
||||
# $builds2 = sort { cmpBuilds($a, $b) } $builds2;
|
||||
|
||||
sub buildDiff {
|
||||
my ($builds, $builds2) = @_;
|
||||
# $builds is the list of current builds, and $builds2 is the list of previous (compared-to) builds
|
||||
|
||||
$builds = [sort { cmpBuilds($a, $b) } @{$builds}];
|
||||
$builds2 = [sort { cmpBuilds($a, $b) } @{$builds2}];
|
||||
|
||||
my $ret = {
|
||||
stillSucceed => [],
|
||||
stillFail => [],
|
||||
|
|
Loading…
Reference in a new issue