Commit a4ebb3dd authored by Erick Bajao's avatar Erick Bajao

Scope feature flag to pipeline's project

parent 2b84801e
......@@ -3,7 +3,7 @@
module Ci
class DailyReportResultService
def execute(pipeline)
return unless Feature.enabled?(:ci_daily_code_coverage, default_enabled: true)
return unless Feature.enabled?(:ci_daily_code_coverage, pipeline.project, default_enabled: true)
DailyReportResult.upsert_reports(coverage_reports(pipeline))
end
......
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