repmgrd: fix BDR sanity check

This commit is contained in:
Ian Barwick
2017-07-14 09:54:34 +09:00
parent d77e8d4d22
commit aeba2e31f1

View File

@@ -62,7 +62,7 @@ monitor_bdr(void)
}
if (is_table_in_bdr_replication_set(local_conn, "nodes", "repmgr"))
if (is_table_in_bdr_replication_set(local_conn, "nodes", "repmgr") == false)
{
log_error(_("repmgr metadata table 'repmgr.%s' is not in the 'repmgr' replication set"),
"nodes");