ISSUES-7572 fix build failure

This commit is contained in:
zhang2014 2020-06-12 19:17:34 +08:00
parent 1c55aa0333
commit 2c439afc01

View File

@ -110,7 +110,7 @@ void addReplicasStatusHandlerFactory(HTTPRequestHandlerFactoryMain & factory, IS
{
auto replicas_status_handler = std::make_unique<HandlingRuleHTTPHandlerFactory<ReplicasStatusHandler>>(server);
replicas_status_handler->attachNonStrictPath("/replicas_status")->allowGetAndHeadRequest();
factory->addHandler(replicas_status_handler.release());
factory.addHandler(replicas_status_handler.release());
}
}