Commit 2b3ffe79 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'default_enable_store_merge_request_line_metrics_ff' into 'master'

Enable store_merge_request_line_metrics FF

See merge request gitlab-org/gitlab!29483
parents b2535a90 6b2fffa2
...@@ -19,7 +19,7 @@ module Analytics ...@@ -19,7 +19,7 @@ module Analytics
# rubocop: disable CodeReuse/ActiveRecord # rubocop: disable CodeReuse/ActiveRecord
def line_counts_data def line_counts_data
return {} if Feature.disabled?(:store_merge_request_line_metrics, merge_request.target_project) return {} if Feature.disabled?(:store_merge_request_line_metrics, merge_request.target_project, default_enabled: true)
{ {
added_lines: raw_diff_files.sum(&:added_lines), added_lines: raw_diff_files.sum(&:added_lines),
......
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