diff --git a/files/gitlab-ctl-commands-ee/lib/geo/promote.rb b/files/gitlab-ctl-commands-ee/lib/geo/promote.rb index 610b2b667c9f3a9dc67c96e1e17c50ae99c37783_ZmlsZXMvZ2l0bGFiLWN0bC1jb21tYW5kcy1lZS9saWIvZ2VvL3Byb21vdGUucmI=..3823169237d5194ba0cbf6984cd77c66e3198862_ZmlsZXMvZ2l0bGFiLWN0bC1jb21tYW5kcy1lZS9saWIvZ2VvL3Byb21vdGUucmI= 100644 --- a/files/gitlab-ctl-commands-ee/lib/geo/promote.rb +++ b/files/gitlab-ctl-commands-ee/lib/geo/promote.rb @@ -121,7 +121,7 @@ def patroni_node_role return @patroni_node_role if defined?(@patroni_node_role) - unless progress_message('Attempting to detect the role of this Patroni node') do + unless progress_message('Attempting to detect the Patroni role of this node') do node = Patroni::Client.new @patroni_node_role = :standby_leader if node.standby_leader? @patroni_node_role = :leader if node.leader? @@ -129,7 +129,7 @@ PATRONI_NODE_ROLES.include?(@patroni_node_role) end - die('Unable to detect the role of this Patroni node.') + die('Unable to detect the Patroni role of this node.') end @patroni_node_role