]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/mon: pass cct to verify_authorizer()
authorKefu Chai <kchai@redhat.com>
Thu, 25 Apr 2019 14:04:50 +0000 (22:04 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 28 Apr 2019 16:12:57 +0000 (00:12 +0800)
commite9dc950a16c16cf65b7d3e98de9143d33160e32d
treebdd2da51b682b5212d9d084f4a5d841d47144c6e
parent4cef78aa916fd118ffb6c9dbd8f5b1415700ca0f
crimson/mon: pass cct to verify_authorizer()

CephxAuthorizeHandler::verify_authorizer() uses it for querying config
and for a RNG, so we have to pass it a CephContext which has `_conf` and
`random()`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/mon/MonClient.cc