diff options
Diffstat (limited to 'lib/gitlab/github_import/importer/events/cross_referenced.rb')
-rw-r--r-- | lib/gitlab/github_import/importer/events/cross_referenced.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/github_import/importer/events/cross_referenced.rb b/lib/gitlab/github_import/importer/events/cross_referenced.rb index b56ae186d3c..4fe371e5900 100644 --- a/lib/gitlab/github_import/importer/events/cross_referenced.rb +++ b/lib/gitlab/github_import/importer/events/cross_referenced.rb @@ -55,6 +55,7 @@ module Gitlab record = record_class.new(id: db_id, iid: iid) record.project = project + record.namespace = project.project_namespace if record.respond_to?(:namespace) record.readonly! record end |