Commit 57ff9631 authored by Pawel Chojnacki's avatar Pawel Chojnacki
Browse files

Remove unnecessary prometheus_service method, that is now handled by new...

Remove unnecessary prometheus_service method, that is now handled by new automagic within Project model
parent 9e7d4edf8e0b
......@@ -798,10 +798,6 @@ def monitoring_service
@monitoring_service ||= monitoring_services.reorder(nil).find_by(active: true)
end
def prometheus_service
@prometheus_service ||= monitoring_services.find_by(active: true, type: PrometheusService.name)
end
def jira_tracker?
issues_tracker.to_param == 'jira'
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment