From db2779eb6827a87417300cd0f7fdbb87dcf9eed2 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 23 Sep 2020 15:56:23 +0800 Subject: [PATCH] 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 --- src/crimson/mon/MonClient.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/crimson/mon/MonClient.cc b/src/crimson/mon/MonClient.cc index 6abae727ed74e..0376a67f8ea57 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; -- 2.39.5