mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
node rejoin: avoid outputting empty DETAIL message
This commit is contained in:
@@ -2008,7 +2008,9 @@ do_node_rejoin(void)
|
|||||||
if (success == false)
|
if (success == false)
|
||||||
{
|
{
|
||||||
log_notice(_("NODE REJOIN failed"));
|
log_notice(_("NODE REJOIN failed"));
|
||||||
log_detail("%s", follow_output.data);
|
|
||||||
|
if (strlen(follow_output.data))
|
||||||
|
log_detail("%s", follow_output.data);
|
||||||
|
|
||||||
create_event_notification(upstream_conn,
|
create_event_notification(upstream_conn,
|
||||||
&config_file_options,
|
&config_file_options,
|
||||||
|
|||||||
Reference in New Issue
Block a user