summaryrefslogtreecommitdiff
path: root/lib/gitlab/import_export/saver.rb
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-05-11 13:17:49 +0200
committerJames Lopez <james@jameslopez.es>2016-05-11 13:17:49 +0200
commit49e6fc40b9d23b4081139a3ad141722a6b1f7cfc (patch)
tree40edb07a1852ad1e817f498fb1cb676502e8c7ab /lib/gitlab/import_export/saver.rb
parenta5d59f075a4a9a301ef985eb7cc6cdfdf3e73955 (diff)
downloadgitlab-ce-49e6fc40b9d23b4081139a3ad141722a6b1f7cfc.tar.gz
fix bad refactor
Diffstat (limited to 'lib/gitlab/import_export/saver.rb')
-rw-r--r--lib/gitlab/import_export/saver.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/import_export/saver.rb b/lib/gitlab/import_export/saver.rb
index 024a0e1e785..7532c977fcc 100644
--- a/lib/gitlab/import_export/saver.rb
+++ b/lib/gitlab/import_export/saver.rb
@@ -13,7 +13,7 @@ module Gitlab
def save
if compress_and_save
- remove_@shared.storage_path
+ remove_storage_path
Rails.logger.info("Saved project export #{archive_file}")
archive_file
else
@@ -30,7 +30,7 @@ module Gitlab
tar_czf(archive: archive_file, dir: @shared.storage_path)
end
- def remove_shared.storage_path
+ def remove_storage_path
FileUtils.rm_rf(@shared.storage_path)
end