node check: tweak --upstream --nagios output

No data follows the pipe, so omit it and add missing line break.
This commit is contained in:
Ian Barwick
2022-04-20 16:40:53 +09:00
parent 2a05f495f6
commit 9f1c9ef829

View File

@@ -1535,7 +1535,7 @@ do_node_check_upstream(PGconn *conn, OutputMode mode, t_node_info *node_info, Ch
{
case OM_NAGIOS:
{
printf("REPMGR_UPSTREAM_SERVER %s: %s | ",
printf("REPMGR_UPSTREAM_SERVER %s: %s\n",
output_check_status(status),
details.data);
}