From 5a888585969286f05f8de487cdda6d7a3d307778 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Wed, 16 Dec 2020 19:14:34 -0500 Subject: [PATCH] repmgr: various log ouput typo fixes Via GitHub #687. --- repmgr-action-standby.c | 6 +++--- repmgr-client.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/repmgr-action-standby.c b/repmgr-action-standby.c index c0fd7856..a79e3268 100644 --- a/repmgr-action-standby.c +++ b/repmgr-action-standby.c @@ -4115,7 +4115,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\""), @@ -4215,7 +4215,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); } @@ -7544,7 +7544,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); } diff --git a/repmgr-client.c b/repmgr-client.c index fce75f4f..d6ad9016 100644 --- a/repmgr-client.c +++ b/repmgr-client.c @@ -4088,7 +4088,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);