From: Kefu Chai Date: Wed, 23 Sep 2020 07:56:23 +0000 (+0800) Subject: crimson/mon: move handle_auth_done() to "v1 and v2" section X-Git-Tag: v16.1.0~1005^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F37303%2Fhead;p=ceph.git crimson/mon: move handle_auth_done() to "v1 and v2" section crimson::mon::Connection::handle_auth_done() is shared by both v1 and v2 authentication implementation, so move it to "v1 and v2" section Signed-off-by: Kefu Chai --- diff --git a/src/crimson/mon/MonClient.cc b/src/crimson/mon/MonClient.cc index 6abae727ed74..0376a67f8ea5 100644 --- a/src/crimson/mon/MonClient.cc +++ b/src/crimson/mon/MonClient.cc @@ -70,15 +70,15 @@ public: using secret_t = string; tuple handle_auth_reply_more(const ceph::buffer::list& bl); - tuple - handle_auth_done(uint64_t new_global_id, - const ceph::buffer::list& bl); int handle_auth_bad_method(uint32_t old_auth_method, int result, const std::vector& allowed_methods, const std::vector& allowed_modes); // v1 and v2 + tuple + handle_auth_done(uint64_t new_global_id, + const ceph::buffer::list& bl); void close(); bool is_my_peer(const entity_addr_t& addr) const; AuthAuthorizer* get_authorizer(entity_type_t peer) const;