diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 21:10:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-20 21:10:16 +0300 |
commit | 694555850c08df0e98209b49b9c26d4c0428ad31 (patch) | |
tree | 1e69bb796398f055a8b2e1823a78d4a4ae879930 /app/presenters/alert_management | |
parent | 520f3178665de5e7d313d332989cd445da83817b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/presenters/alert_management')
-rw-r--r-- | app/presenters/alert_management/alert_presenter.rb | 6 | ||||
-rw-r--r-- | app/presenters/alert_management/prometheus_alert_presenter.rb | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/app/presenters/alert_management/alert_presenter.rb b/app/presenters/alert_management/alert_presenter.rb index 5bfa6dee18b..d8ad3c96646 100644 --- a/app/presenters/alert_management/alert_presenter.rb +++ b/app/presenters/alert_management/alert_presenter.rb @@ -38,12 +38,6 @@ module AlertManagement MARKDOWN end - def runbook - strong_memoize(:runbook) do - payload&.dig('runbook') - end - end - def metrics_dashboard_url; end def details_url diff --git a/app/presenters/alert_management/prometheus_alert_presenter.rb b/app/presenters/alert_management/prometheus_alert_presenter.rb index 6b8c8183f08..3bcc98e6784 100644 --- a/app/presenters/alert_management/prometheus_alert_presenter.rb +++ b/app/presenters/alert_management/prometheus_alert_presenter.rb @@ -2,12 +2,6 @@ module AlertManagement class PrometheusAlertPresenter < AlertManagement::AlertPresenter - def runbook - strong_memoize(:runbook) do - payload&.dig('annotations', 'runbook') - end - end - def metrics_dashboard_url alerting_alert.metrics_dashboard_url end |