mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 00:46:29 +00:00
Clarify error message
"Node information" is too vague.
This commit is contained in:
4
config.c
4
config.c
@@ -243,13 +243,13 @@ parse_config(const char *config_file, t_configuration_options *options)
|
|||||||
/* Check config settings */
|
/* Check config settings */
|
||||||
if (*options->cluster_name == '\0')
|
if (*options->cluster_name == '\0')
|
||||||
{
|
{
|
||||||
log_err(_("Cluster name is missing. Check the configuration file.\n"));
|
log_err(_("Cluster name was not found. Check the configuration file.\n"));
|
||||||
exit(ERR_BAD_CONFIG);
|
exit(ERR_BAD_CONFIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (options->node == -1)
|
if (options->node == -1)
|
||||||
{
|
{
|
||||||
log_err(_("Node information is missing. Check the configuration file.\n"));
|
log_err(_("Node id was not found. Check the configuration file.\n"));
|
||||||
exit(ERR_BAD_CONFIG);
|
exit(ERR_BAD_CONFIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user