Commit 8e4aa5de authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'enable-group-import-ndjson-by-default' into 'master'

Prepare group import feature to use ndjson

See merge request gitlab-org/gitlab!31741
parents 51ee7b0c ba0c741f
......@@ -53,7 +53,7 @@ module Groups
end
def ndjson?
::Feature.enabled?(:group_import_ndjson, @group&.parent) &&
::Feature.enabled?(:group_import_ndjson, @group&.parent, default_enabled: true) &&
File.exist?(File.join(@shared.export_path, 'tree/groups/_all.ndjson'))
end
......
---
title: Prepare group import feature to use ndjson
merge_request: 31741
author:
type: changed
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