From e797c26848b155a623930692a3738b69a709c3e6 Mon Sep 17 00:00:00 2001 From: Wilson Neto Date: Thu, 23 Jan 2025 10:50:28 -0300 Subject: [PATCH] fix: staging crash fix staging crash by importing the right variable --- backend/kernelCI_app/helpers/treeDetails.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/kernelCI_app/helpers/treeDetails.py b/backend/kernelCI_app/helpers/treeDetails.py index 25bf2784..99ce10c5 100644 --- a/backend/kernelCI_app/helpers/treeDetails.py +++ b/backend/kernelCI_app/helpers/treeDetails.py @@ -19,7 +19,6 @@ ) from kernelCI_app.cache import getQueryCache, setQueryCache from kernelCI_app.utils import is_boot -from kernelCI_app.constants.hardwareDetails import STATUS_FAILED_VALUE from django.db import connection @@ -548,5 +547,5 @@ def process_filters(instance, row_data: dict) -> None: if test_issue_id is not None and issue_version is not None and is_test_issue: issue_set.add(test_issue_id) - elif row_data["test_status"] == STATUS_FAILED_VALUE: + elif row_data["test_status"] == FAIL_STATUS: issue_set.add(UNKNOWN_STRING)