Skip to content

Commit e4732b1

Browse files
committed
Add missing report_used_legacy_models() call in combined rules legacy path
1 parent cf31b7f commit e4732b1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/sentry/incidents/endpoints/organization_alert_rule_index.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,7 @@ def get(self, request: Request, organization: Organization) -> Response:
625625

626626
# Legacy path below
627627
alert_rules = AlertRule.objects.fetch_for_organization(organization, projects)
628+
report_used_legacy_models()
628629

629630
issue_rules = Rule.objects.filter(
630631
status__in=[ObjectStatus.ACTIVE, ObjectStatus.DISABLED],

0 commit comments

Comments
 (0)