We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0a14029 + e2ff994 commit 8c4178bCopy full SHA for 8c4178b
tasks/confirm_primary_server.rb
@@ -15,8 +15,8 @@ def get_primary_hostname(ignore_infra_status_error)
15
end
16
17
output.each_line do |line|
18
- if line.match(/^Primary: /)
19
- primary = line.gsub(/^Primary: /, '').lstrip.rstrip
+ if line.match(/^Primary: |^Master: /)
+ primary = line.gsub(/^Primary: |^Master: /, '').lstrip.rstrip
20
return primary
21
22
0 commit comments