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 Sentry issues #333

Merged
merged 2 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion github_app_geo_project/module/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ def get_stabilization_versions(security: c2cciutils.security.Security) -> list[s

def get_alternate_versions(security: c2cciutils.security.Security, branch: str) -> list[str]:
"""Get the stabilization versions."""
alternate_index = security.alternate_index
alternate_index = security.alternate_tag_index
version_index = security.version_index

if alternate_index < 0:
Expand Down
2 changes: 1 addition & 1 deletion github_app_geo_project/module/versions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ async def process(
if len(raw) > max(version_index, support_index):
version = raw[version_index]
support = raw[support_index]
if version not in status.versions:
if version in status.versions:
status.versions[version].support = support

versions = status.versions
Expand Down