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