diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-27 21:10:29 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-27 21:10:29 +0300 |
commit | da50206243972a4cafcaea7539aed7c6986c775e (patch) | |
tree | 4078741032de093f8ae49a13ec984271402f2f35 /app/services/system_note_service.rb | |
parent | eef9c80f1c3e81fcb50c51d8f419ab095d4747fd (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/system_note_service.rb')
-rw-r--r-- | app/services/system_note_service.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/services/system_note_service.rb b/app/services/system_note_service.rb index 7be94d8020e..1a041b8ecd8 100644 --- a/app/services/system_note_service.rb +++ b/app/services/system_note_service.rb @@ -308,6 +308,10 @@ module SystemNoteService ::SystemNotes::AlertManagementService.new(noteable: alert, project: alert.project, author: author).new_alert_issue(issue) end + def create_new_alert(alert, monitoring_tool) + ::SystemNotes::AlertManagementService.new(noteable: alert, project: alert.project).create_new_alert(monitoring_tool) + end + private def merge_requests_service(noteable, project, author) |