Remove configuration reloading
Removed the deprecated configuration reloading code. Added a entry into the release notes that states this and the fact that it was deprecated in 2.2.
This commit is contained in:
@ -683,19 +683,12 @@ struct subcommand clearoptions[] =
|
||||
};
|
||||
|
||||
static void reload_dbusers(DCB *dcb, SERVICE *service);
|
||||
static void reload_config(DCB *dcb);
|
||||
|
||||
/**
|
||||
* The subcommands of the reload command
|
||||
*/
|
||||
struct subcommand reloadoptions[] =
|
||||
{
|
||||
{
|
||||
"config", 0, 0, (FN)reload_config,
|
||||
"[Deprecated] Reload the configuration",
|
||||
"Usage: reload config",
|
||||
{0}
|
||||
},
|
||||
{
|
||||
"dbusers", 1, 1, (FN)reload_dbusers,
|
||||
"Reload the database users for a service",
|
||||
@ -2324,21 +2317,6 @@ reload_dbusers(DCB *dcb, SERVICE *service)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Reload the configuration data from the config file
|
||||
*
|
||||
* @param dcb DCB to use to send output
|
||||
*/
|
||||
static void
|
||||
reload_config(DCB *dcb)
|
||||
{
|
||||
dcb_printf(dcb, "Reloading configuration from file.\n\n"
|
||||
"Warning! This command has been deprecated, please use the `alter`\n"
|
||||
"commands or use the MaxScale REST API to change the configuration\n"
|
||||
"at runtime.\n");
|
||||
config_reload();
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a new remote (insecure, over the network) maxscale admin user
|
||||
*
|
||||
|
Reference in New Issue
Block a user