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/lfs.rb | |
parent | 1128d0eca5747deebc7181b4275a32ab0c537c24 (diff) | |
download | gitlab-ce-e6fca03bbdf5b9a26d720e9dc2ec065ecda5f711.tar.gz |
Fix backup creation and restore for specific Rake tasks
Diffstat (limited to 'lib/backup/lfs.rb')
-rw-r--r-- | lib/backup/lfs.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/backup/lfs.rb b/lib/backup/lfs.rb index 4e234e50a7a..185ff8ae6bd 100644 --- a/lib/backup/lfs.rb +++ b/lib/backup/lfs.rb @@ -2,7 +2,11 @@ require 'backup/files' module Backup class Lfs < Files - def initialize + attr_reader :progress + + def initialize(progress) + @progress = progress + super('lfs', Settings.lfs.storage_path) end end |