Commit 658e89a8 authored by Jarka Kadlecova's avatar Jarka Kadlecova

Instrument MergeRequest#fetch_ref

parent edd56aea
---
title: Instrument MergeRequest#fetch_ref
merge_request:
author:
type: other
...@@ -122,6 +122,7 @@ def instrument_classes(instrumentation) ...@@ -122,6 +122,7 @@ def instrument_classes(instrumentation)
# Needed for https://gitlab.com/gitlab-org/gitlab-ce/issues/36061 # Needed for https://gitlab.com/gitlab-org/gitlab-ce/issues/36061
instrumentation.instrument_instance_method(MergeRequest, :ensure_ref_fetched) instrumentation.instrument_instance_method(MergeRequest, :ensure_ref_fetched)
instrumentation.instrument_instance_method(MergeRequest, :fetch_ref)
end end
# rubocop:enable Metrics/AbcSize # rubocop:enable Metrics/AbcSize
......
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