Format routers and monitors

This commit is contained in:
Markus Mäkelä
2019-05-09 11:05:34 +03:00
parent 6625c1296b
commit 418ccf861d
42 changed files with 358 additions and 340 deletions

View File

@ -34,7 +34,7 @@ static const char MAX_SLAVES[] = "max_slaves";
HintRouter::HintRouter(SERVICE* pService,
HINT_TYPE default_action,
string& default_server,
string& default_server,
int max_slaves)
: maxscale::Router<HintRouter, HintRouterSession>(pService)
, m_routed_to_master(0)
@ -191,7 +191,7 @@ json_t* HintRouter::diagnostics_json() const
}
Dcb HintRouter::connect_to_backend(MXS_SESSION* session,
SERVER_REF* sref,
SERVER_REF* sref,
HintRouterSession::BackendMap* all_backends)
{
Dcb result(NULL);