Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Miller <travis@travismiller.com>2018-03-01 06:25:54 +0300
committerTravis Miller <travis@travismiller.com>2018-03-01 06:25:54 +0300
commit2b176137c9b5617d38ff89b6f8ed4636018916c9 (patch)
tree764d53a280c42e000820f1e8c80ec7e41ca70dbd /app/services/projects/import_export
parent0d8aadeb9df3bd5e4f18e8c22510c2220b74420d (diff)
review: instantiate shared import/export object in project method
Diffstat (limited to 'app/services/projects/import_export')
-rw-r--r--app/services/projects/import_export/export_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/import_export/export_service.rb b/app/services/projects/import_export/export_service.rb
index e26ce3089bb..2af228eff05 100644
--- a/app/services/projects/import_export/export_service.rb
+++ b/app/services/projects/import_export/export_service.rb
@@ -2,7 +2,7 @@ module Projects
module ImportExport
class ExportService < BaseService
def execute(_options = {})
- @shared = Gitlab::ImportExport::Shared.new(project)
+ @shared = project.import_export
save_all
end