Commit 3f54e120 authored by Stan Hu's avatar Stan Hu

Merge branch 'philipcunning-fix-feature-flag-ci-build' into 'master'

Use default_enabled for feature flag check

See merge request gitlab-org/gitlab!65212
parents c603a068 f6ad63c6
......@@ -184,7 +184,7 @@ module EE
def dast_configuration_variables
::Gitlab::Ci::Variables::Collection.new.tap do |collection|
break collection unless ::Feature.enabled?(:dast_configuration_ui, project)
break collection unless ::Feature.enabled?(:dast_configuration_ui, project, default_enabled: :yaml)
break collection unless (dast_configuration = options[:dast_configuration])
if dast_configuration[:site_profile] && dast_site_profile
......
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