mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Fix "cluster show --csv" output
This commit is contained in:
@@ -109,7 +109,6 @@ do_cluster_show(void)
|
||||
if (PQstatus(cell->node_info->conn) == CONNECTION_OK)
|
||||
{
|
||||
cell->node_info->node_status = NODE_STATUS_UP;
|
||||
|
||||
cell->node_info->recovery_type = get_recovery_type(cell->node_info->conn);
|
||||
}
|
||||
else
|
||||
@@ -385,7 +384,7 @@ do_cluster_show(void)
|
||||
|
||||
/* emit any warnings */
|
||||
|
||||
if (warnings.head != NULL && runtime_options.terse == false)
|
||||
if (warnings.head != NULL && runtime_options.terse == false && runtime_options.output_mode != OM_CSV)
|
||||
{
|
||||
ItemListCell *cell = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user