Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: staging crash #835

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions backend/kernelCI_app/helpers/treeDetails.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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)
Loading