Instrument MergeRequest#fetch_ref
This commit is contained in:
parent
edd56aeaf4
commit
658e89a8b7
2 changed files with 6 additions and 0 deletions
5
changelogs/unreleased/36061-mr-ref-instrument.yml
Normal file
5
changelogs/unreleased/36061-mr-ref-instrument.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Instrument MergeRequest#fetch_ref
|
||||
merge_request:
|
||||
author:
|
||||
type: other
|
|
@ -122,6 +122,7 @@ def instrument_classes(instrumentation)
|
|||
|
||||
# Needed for https://gitlab.com/gitlab-org/gitlab-ce/issues/36061
|
||||
instrumentation.instrument_instance_method(MergeRequest, :ensure_ref_fetched)
|
||||
instrumentation.instrument_instance_method(MergeRequest, :fetch_ref)
|
||||
end
|
||||
# rubocop:enable Metrics/AbcSize
|
||||
|
||||
|
|
Loading…
Reference in a new issue