Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-20 21:10:16 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-20 21:10:16 +0300
commit694555850c08df0e98209b49b9c26d4c0428ad31 (patch)
tree1e69bb796398f055a8b2e1823a78d4a4ae879930 /app/presenters/alert_management
parent520f3178665de5e7d313d332989cd445da83817b (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.rb6
-rw-r--r--app/presenters/alert_management/prometheus_alert_presenter.rb6
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