diff options
author | Stan Hu <stanhu@gmail.com> | 2018-05-24 14:58:25 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-05-24 14:58:25 +0000 |
commit | e6fca03bbdf5b9a26d720e9dc2ec065ecda5f711 (patch) | |
tree | 72b6dfb9941b9ad836164e6bec01810f9acd71b4 /lib/backup/artifacts.rb | |
parent | 1128d0eca5747deebc7181b4275a32ab0c537c24 (diff) | |
download | gitlab-ce-e6fca03bbdf5b9a26d720e9dc2ec065ecda5f711.tar.gz |
Fix backup creation and restore for specific Rake tasks
Diffstat (limited to 'lib/backup/artifacts.rb')
-rw-r--r-- | lib/backup/artifacts.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/backup/artifacts.rb b/lib/backup/artifacts.rb index 6a5a223a614..45a935ab352 100644 --- a/lib/backup/artifacts.rb +++ b/lib/backup/artifacts.rb @@ -2,7 +2,11 @@ require 'backup/files' module Backup class Artifacts < Files - def initialize + attr_reader :progress + + def initialize(progress) + @progress = progress + super('artifacts', JobArtifactUploader.root) end end |