Skip to content

Commit

Permalink
Clarify comment
Browse files Browse the repository at this point in the history
Signed-off-by: Crola1702 <[email protected]>
  • Loading branch information
Crola1702 committed Sep 18, 2024
1 parent b005ebf commit a26fbc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/scripts/lib/buildfarm_tools.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def self.test_regressions_all(filter_known: false, include_reports: true)

def self.test_regressions_today(filter_known: false, only_consistent: false, group_issues: false, report_regressions: [])
# Keys: job_name, build_number, error_name, build_datetime, node_name
out = report_regressions.clone(freeze: false) # Clone because we return the same array but modified
out = report_regressions.clone(freeze: false) # Clone because we return a modified version
out = test_regressions_all(filter_known: filter_known) if out.empty?
if only_consistent
out.filter! { |tr| tr['age'].to_i >= CONSECUTIVE_THRESHOLD || tr['age'].to_i == WARNING_AGE_CONSTANT }
Expand Down

0 comments on commit a26fbc0

Please sign in to comment.