mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
Fix repmgr cluster crosscheck output
Show actual node ID rather than incremental number. Fixes GitHub #244.
This commit is contained in:
2
repmgr.c
2
repmgr.c
@@ -1646,7 +1646,7 @@ do_cluster_crosscheck(void)
|
|||||||
|
|
||||||
printf("%*s | Id ", name_length, node_header);
|
printf("%*s | Id ", name_length, node_header);
|
||||||
for (i = 0; i < n; i++)
|
for (i = 0; i < n; i++)
|
||||||
printf("| %2d ", i+1);
|
printf("| %2d ", cube[i]->node_id);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
for (i = 0; i < name_length; i++)
|
for (i = 0; i < name_length; i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user