mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 16:16:29 +00:00
Replace "slave" with "standby" for consistency
"standby" is used everywhere except in these two error messages.
This commit is contained in:
4
repmgr.c
4
repmgr.c
@@ -870,7 +870,7 @@ do_standby_register(void)
|
|||||||
NULL, NULL);
|
NULL, NULL);
|
||||||
if (!master_conn)
|
if (!master_conn)
|
||||||
{
|
{
|
||||||
log_err(_("a master must be defined before configuring a slave\n"));
|
log_err(_("a master must be defined before configuring a standby\n"));
|
||||||
exit(ERR_BAD_CONFIG);
|
exit(ERR_BAD_CONFIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -977,7 +977,7 @@ do_standby_unregister(void)
|
|||||||
NULL, NULL);
|
NULL, NULL);
|
||||||
if (!master_conn)
|
if (!master_conn)
|
||||||
{
|
{
|
||||||
log_err(_("a master must be defined before unregistering a slave\n"));
|
log_err(_("a master must be defined before unregistering a standby\n"));
|
||||||
exit(ERR_BAD_CONFIG);
|
exit(ERR_BAD_CONFIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user