mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Fix "repmgr node check --role" output
This commit is contained in:
@@ -696,9 +696,10 @@ do_node_check_role(PGconn *conn, OutputMode mode, t_node_info *node_info, CheckS
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("%s (%s)\n",
|
||||
output_check_status(status),
|
||||
details.data);
|
||||
printf("%s", output_check_status(status));
|
||||
if (strlen(details.data))
|
||||
printf(" (%s)", details.data);
|
||||
puts("");
|
||||
}
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user