| Index: dashboard/dashboard/associate_alerts.py
|
| diff --git a/dashboard/dashboard/associate_alerts.py b/dashboard/dashboard/associate_alerts.py
|
| index 5f2948be0cd979e4c4ec6468e9ab8fdc415be319..d7842a8c57b4b5bb937af1de9d647ee44e6dca65 100644
|
| --- a/dashboard/dashboard/associate_alerts.py
|
| +++ b/dashboard/dashboard/associate_alerts.py
|
| @@ -12,7 +12,6 @@
|
| from dashboard import oauth2_decorator
|
| from dashboard.common import request_handler
|
| from dashboard.common import utils
|
| -from dashboard.models import alert_group
|
| from dashboard.models import anomaly
|
| from dashboard.models import stoppage_alert
|
| from dashboard.services import issue_tracker_service
|
| @@ -126,7 +125,9 @@
|
| })
|
| return
|
|
|
| - alert_group.ModifyAlertsAndAssociatedGroups(alert_entities, bug_id=bug_id)
|
| + for a in alert_entities:
|
| + a.bug_id = bug_id
|
| + ndb.put_multi(alert_entities)
|
|
|
| self.RenderHtml('bug_result.html', {'bug_id': bug_id})
|
|
|
|
|