Instrument MergeRequest#fetch_ref

This commit is contained in:
Jarka Kadlecova 2017-09-01 09:36:37 +02:00
parent edd56aeaf4
commit 658e89a8b7
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
title: Instrument MergeRequest#fetch_ref
merge_request:
author:
type: other

View file

@ -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