summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2018-09-07 13:42:49 +0200
committerJames Lopez <james@jameslopez.es>2018-09-07 13:42:49 +0200
commit27442862cf81881c81552e64d0b4d3354535c45e (patch)
treea05e89cdad1f455971748b74f4092ca3992de8b8 /lib/tasks
parenta2aa505805478540b3150b2f9093c8658e18597d (diff)
downloadgitlab-ce-27442862cf81881c81552e64d0b4d3354535c45e.tar.gz
refactor code based on feedback
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gitlab/update_templates.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/update_templates.rake b/lib/tasks/gitlab/update_templates.rake
index 3c873ba3a20..be22032287c 100644
--- a/lib/tasks/gitlab/update_templates.rake
+++ b/lib/tasks/gitlab/update_templates.rake
@@ -54,7 +54,7 @@ namespace :gitlab do
end
Projects::ImportExport::ExportService.new(project, admin).execute
- download_or_copy_upload(project.import_export_upload.export_file, template.archive_path)
+ download_or_copy_upload( project.export_file, template.archive_path)
Projects::DestroyService.new(admin, project).execute
puts "Exported #{template.name}".green
end