mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 06:36:09 +10:00
Merge branches 'feature/project-export-ui-experimental' and 'feature/project-import' of gitlab.com:gitlab-org/gitlab-ce into feature/project-export-ui-experimental
This commit is contained in:
@@ -15,7 +15,7 @@ class ProjectImportWorker
|
||||
project.repository.after_import
|
||||
project.import_finish
|
||||
else
|
||||
logger.error("There was an error during the import: #{tmpfile}")
|
||||
logger.error("There was an error during the import: #{tmp_file}")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user