Commit 00ef0f2d authored by Alain Takoudjou's avatar Alain Takoudjou

new Backup::Database object now require a parameter

see: https://lab.nexedi.com/nexedi/gitlab-ce/blob/v11.11.8-nxd/lib/tasks/gitlab/backup.rake
parent 3f6c4dee
...@@ -88,7 +88,7 @@ need_gitlab_config() { ...@@ -88,7 +88,7 @@ need_gitlab_config() {
s = c.gitlab_shell s = c.gitlab_shell
puts Gitlab::VERSION, c.backup.path, s.repos_path, s.hooks_path puts Gitlab::VERSION, c.backup.path, s.repos_path, s.hooks_path
c = Backup::Database.new.config c = Backup::Database.new($stdout).config
puts c["database"] puts c["database"]
puts c["adapter"], c["username"], c["host"], c["port"], c["password"] puts c["adapter"], c["username"], c["host"], c["port"], c["password"]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment