From 0a40fb27d8cbd5574def2fc861f11a2a16b6ccad Mon Sep 17 00:00:00 2001 From: Paige Patton <64206430+paigerube14@users.noreply.github.com> Date: Thu, 13 Aug 2026 14:09:38 -0400 Subject: [PATCH] adding start var (#1564) Signed-off-by: Paige Patton --- run_kraken.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/run_kraken.py b/run_kraken.py index 0622df22..c0c59fe8 100644 --- a/run_kraken.py +++ b/run_kraken.py @@ -400,7 +400,7 @@ def main(options, command: Optional[str], out: Optional[dict] = None) -> int: # Capture the start time start_time = int(time.time()) post_critical_alerts = 0 - profile_critical_alerts = 0 + profile_critical_alerts = [] chaos_output = ChaosRunOutput() chaos_telemetry = ChaosRunTelemetry() chaos_telemetry.run_uuid = run_uuid @@ -630,8 +630,7 @@ def main(options, command: Optional[str], out: Optional[dict] = None) -> int: except Exception as e: logging.error("Failed to finalize resiliency scoring: %s", e) - - + # Check for the alerts specified before telemetry so job_status is included in output if enable_alerts: logging.info("Alerts checking is enabled")