Skip to content

Commit f96ce28

Browse files
Andrew Pattersonkatrinleinweber
andcommitted
Merge branch 'avoid-indefined-local-error' into 'master'
Avoid "undefined local" error in pg-upgrade.rb#analyze_cluster See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7532 Merged-by: Andrew Patterson <[email protected]> Approved-by: Ian Baum <[email protected]> Approved-by: Andrew Patterson <[email protected]> Co-authored-by: Katrin Leinweber (GTLB) <[email protected]>
2 parents 9f89bce + 0eaa7e6 commit f96ce28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/gitlab-ctl-commands/pg-upgrade.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def analyze_cluster
612612
rescue Mixlib::ShellOut::CommandTimeout
613613
$stderr.puts "Time out while running the analyze stage.".color(:yellow)
614614
$stderr.puts "Please re-run the command manually as the #{pg_username} user".color(:yellow)
615-
$stderr.puts analyze_command.color(:yellow)
615+
$stderr.puts analyze_cmd.color(:yellow)
616616
end
617617
end
618618

0 commit comments

Comments
 (0)