diff options
Diffstat (limited to 'app/workers/gitlab/github_import/stage/import_issues_and_diff_notes_worker.rb')
-rw-r--r-- | app/workers/gitlab/github_import/stage/import_issues_and_diff_notes_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/gitlab/github_import/stage/import_issues_and_diff_notes_worker.rb b/app/workers/gitlab/github_import/stage/import_issues_and_diff_notes_worker.rb index 7922c1113c4..3d1a8437da2 100644 --- a/app/workers/gitlab/github_import/stage/import_issues_and_diff_notes_worker.rb +++ b/app/workers/gitlab/github_import/stage/import_issues_and_diff_notes_worker.rb @@ -36,7 +36,7 @@ module Gitlab private def diff_notes_importer(project) - if project.group.present? && Feature.enabled?(:github_importer_single_endpoint_notes_import, project.group, type: :ops) + if import_settings(project).enabled?(:single_endpoint_notes_import) Importer::SingleEndpointDiffNotesImporter else Importer::DiffNotesImporter |