Fix missing arguments when PostgreSQL upgrade times out
This is a small regression from https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7247. When the PostgreSQL upgrade times out, previously the script would error out with `wrong number of arguments (given 0, expected 1) (ArgumentError)`. Changelog: fixed
This commit is contained in:
parent
4334402cad
commit
39fa902e77
|
@ -157,7 +157,7 @@ module GitlabCtl
|
|||
log "STDERR: #{e.stderr}"
|
||||
false
|
||||
rescue Mixlib::ShellOut::CommandTimeout
|
||||
log
|
||||
log ""
|
||||
log "Timed out during the database upgrade.".color(:red)
|
||||
log "To run with more time, remove the temporary directory #{tmp_data_dir}.#{target_version.major},".color(:red)
|
||||
log "then re-run your previous command, adding the --timeout option.".color(:red)
|
||||
|
|
Loading…
Reference in New Issue