Commit f7e7ee71 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'add-approval-status-field-lm-ce' into 'master'

Extend License Compliance entity for Pipelines and MR view

See merge request gitlab-org/gitlab-ce!32709
parents 5f813436 46f6a4e0
Pipeline #80538458 failed with stages
in 29 minutes and 20 seconds
......@@ -1238,9 +1238,9 @@ class MergeRequest < ApplicationRecord
def compare_reports(service_class)
def compare_reports(service_class, current_user = nil)
with_reactive_cache( do |data|
unless, current_user)
.latest?(base_pipeline, actual_head_pipeline, data)
raise InvalidateReactiveCache
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