so msgrs will be able to turn to monc when they try to authenticate
themselves.
Signed-off-by: Kefu Chai <kchai@redhat.com>
{
osdmaps[0] = boost::make_local_shared<OSDMap>();
for (auto msgr : {std::ref(cluster_msgr), std::ref(public_msgr),
- std::ref(hb_front_msgr), std::ref(hb_back_msgr)}) {
+ std::ref(hb_front_msgr), std::ref(hb_back_msgr)}) {
msgr.get().set_auth_server(monc.get());
+ msgr.get().set_auth_client(monc.get());
}
}