summaryrefslogtreecommitdiff
path: root/lib/gitlab/import_export/uploads_saver.rb
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2018-07-11 11:36:59 +0200
committerJames Lopez <james@jameslopez.es>2018-07-11 11:36:59 +0200
commit3a114c2d119a9d0a7a8a9c85a6c7ec405f3a0f12 (patch)
tree6abb5e663805b9c5c0bfc0509f5cbf5809e92ef3 /lib/gitlab/import_export/uploads_saver.rb
parent7c9f21683ce2eea8f1f901d81b32ad775d7f9ba6 (diff)
downloadgitlab-ce-3a114c2d119a9d0a7a8a9c85a6c7ec405f3a0f12.tar.gz
fix specs
Diffstat (limited to 'lib/gitlab/import_export/uploads_saver.rb')
-rw-r--r--lib/gitlab/import_export/uploads_saver.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/import_export/uploads_saver.rb b/lib/gitlab/import_export/uploads_saver.rb
index 9cdd015d82a..b3f17af5661 100644
--- a/lib/gitlab/import_export/uploads_saver.rb
+++ b/lib/gitlab/import_export/uploads_saver.rb
@@ -11,8 +11,8 @@ module Gitlab
def save
Gitlab::ImportExport::UploadsManager.new(
project: @project,
- shared: @shared,
- ).copy
+ shared: @shared
+ ).save
rescue => e
@shared.error(e)
false