Commit c8092cdc authored by Ash McKenzie's avatar Ash McKenzie

Fix default_enabled value must be a boolean

parent 290494d5
......@@ -7,7 +7,7 @@ module EE
feature_already_in_use = ::Analytics::DevopsAdoption::Segment.any?
::License.feature_available?(:devops_adoption) &&
::Feature.enabled?(:devops_adoption_feature, default_enabled: feature_already_in_use)
(feature_already_in_use || ::Feature.enabled?(:devops_adoption_feature, default_enabled: false))
end
end
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