repmgr: various log ouput typo fixes

Via GitHub #687.
This commit is contained in:
Josh Soref
2020-12-16 19:14:34 -05:00
committed by Ian Barwick
parent a415d85530
commit 6100007a32
2 changed files with 4 additions and 4 deletions

View File

@@ -4108,7 +4108,7 @@ do_standby_switchover(void)
if (command_success == false || command_output.data[0] == '0')
{
log_error(_("expected configuration file not found on the demotion candiate \"%s\" (ID: %i)"),
log_error(_("expected configuration file not found on the demotion candidate \"%s\" (ID: %i)"),
remote_node_record.node_name,
remote_node_record.node_id);
log_detail(_("registered configuration file is \"%s\""),
@@ -4208,7 +4208,7 @@ do_standby_switchover(void)
else if (remote_error == REMOTE_ERROR_CONNINFO_PARSE)
{
/* highly unlikely */
log_detail(_("an error was encountered when parsing the \"conninfo\" parameter in \"rempgr.conf\" on node \"%s\" (ID: %i)"),
log_detail(_("an error was encountered when parsing the \"conninfo\" parameter in \"repmgr.conf\" on node \"%s\" (ID: %i)"),
remote_node_record.node_name,
remote_node_record.node_id);
}
@@ -7530,7 +7530,7 @@ stop_backup:
if (record_status == RECORD_FOUND)
{
log_verbose(LOG_INFO,
_("replication slot \"%s\" aleady exists on upstream node %i"),
_("replication slot \"%s\" already exists on upstream node %i"),
local_node_record->slot_name,
upstream_node_id);
}

View File

@@ -4086,7 +4086,7 @@ check_standby_join(PGconn *upstream_conn, t_node_info *upstream_node_record, t_n
if (node_attached == NODE_NOT_ATTACHED)
{
log_detail(_("node \"%s\" (ID: %i) is currrently attached to its upstream node in state \"%s\""),
log_detail(_("node \"%s\" (ID: %i) is currently attached to its upstream node in state \"%s\""),
upstream_node_record->node_name,
standby_node_record->node_id,
node_state);