diff options
author | James Lopez <james@jameslopez.es> | 2018-06-22 09:00:10 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-06-22 09:00:10 +0200 |
commit | 3d3e441c91ac793272723b5f20eae5b9cf19fcc2 (patch) | |
tree | b472d75ff5c9130b7fcfb3a94d1c3c9176270734 /lib/gitlab/import_export/relation_factory.rb | |
parent | 92ec58abeb21793ed8087e7acac77c84153aa50b (diff) | |
download | gitlab-ce-3d3e441c91ac793272723b5f20eae5b9cf19fcc2.tar.gz |
refactor code based on feedback
Diffstat (limited to 'lib/gitlab/import_export/relation_factory.rb')
-rw-r--r-- | lib/gitlab/import_export/relation_factory.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/relation_factory.rb b/lib/gitlab/import_export/relation_factory.rb index 5efebf867ad..c5e8aa54f5d 100644 --- a/lib/gitlab/import_export/relation_factory.rb +++ b/lib/gitlab/import_export/relation_factory.rb @@ -266,7 +266,7 @@ module Gitlab hash.delete('project_id') end - GroupProjectFinder.find_or_create(relation_class, finder_hash) + GroupProjectObjectBuilder.build(relation_class, finder_hash) end end end |