From 97851a96c45278d2b3352e61faea3c2dfa4301e5 Mon Sep 17 00:00:00 2001 From: Crola1702 Date: Wed, 7 Aug 2024 12:01:13 -0500 Subject: [PATCH] Remove unnecessary variable assignment Signed-off-by: Crola1702 --- database/scripts/generate_report.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/database/scripts/generate_report.rb b/database/scripts/generate_report.rb index 32bf401..7292264 100755 --- a/database/scripts/generate_report.rb +++ b/database/scripts/generate_report.rb @@ -28,18 +28,18 @@ def generate_report(report_name, exclude_set) report = { 'urgent' => { 'build_regressions' => urgent_build_regressions = BuildfarmToolsLib::build_regressions_today(filter_known: true), - 'test_regressions_consecutive' => urgent_consistent_test_regressions = BuildfarmToolsLib::test_regressions_today(filter_known: true, only_consistent: true, group_issues: true), - 'test_regressions_flaky' => urgent_flaky_test_regressions = BuildfarmToolsLib::flaky_test_regressions(filter_known: true, group_issues: true), + 'test_regressions_consecutive' => BuildfarmToolsLib::test_regressions_today(filter_known: true, only_consistent: true, group_issues: true), + 'test_regressions_flaky' => BuildfarmToolsLib::flaky_test_regressions(filter_known: true, group_issues: true), }, 'maintenance' => { - 'jobs_last_success_date' => maintenance_jobs_last_success_date = BuildfarmToolsLib::jobs_last_success_date(older_than_days: 7), + 'jobs_last_success_date' => BuildfarmToolsLib::jobs_last_success_date(older_than_days: 7), 'gh_issues_reported' => [], 'tests_disabled' => [], }, 'pending' => { 'build_regressions_known' => [], 'test_regressions_all' => [], - 'test_regressions_known' => pending_test_regressions_known = BuildfarmToolsLib::test_regressions_known, + 'test_regressions_known' => BuildfarmToolsLib::test_regressions_known, } }