Merge branch 'sh-fix-missing-log-arguments' into 'master'
Fix missing arguments when PostgreSQL upgrade times out See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7558 Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com> Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com> Co-authored-by: Stan Hu <stanhu@gmail.com>
This commit is contained in:
commit
e8cecdcf2e
|
@ -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