MXS-1929: Use correct object type when loading defaults
The service creation attempted to load defaults for a filter module when the module in question was a router.
This commit is contained in:
parent
9e9f0b5959
commit
0c63471715
@ -1087,7 +1087,7 @@ static bool runtime_create_service(const char *name, const char *router, MXS_CON
|
||||
{
|
||||
SERVICE* service = NULL;
|
||||
CONFIG_CONTEXT ctx{(char*)""};
|
||||
ctx.parameters = load_defaults(router, MODULE_FILTER, CN_FILTER);
|
||||
ctx.parameters = load_defaults(router, MODULE_ROUTER, CN_SERVICE);
|
||||
|
||||
if (ctx.parameters)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user