From b324bf38ea8ef2ba6abf97192e66cd6ff2a70b23 Mon Sep 17 00:00:00 2001 From: Benny Halevy Date: Tue, 11 Jul 2023 09:56:39 +0300 Subject: [PATCH] gossiper: convict: make private It is used only internally in gossiper. Signed-off-by: Benny Halevy --- gms/gossiper.hh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gms/gossiper.hh b/gms/gossiper.hh index b6a5d495e3..510580920e 100644 --- a/gms/gossiper.hh +++ b/gms/gossiper.hh @@ -269,11 +269,6 @@ public: int64_t get_endpoint_downtime(inet_address ep) const noexcept; - /** - * @param endpoint end point that is convicted. - */ - future<> convict(inet_address endpoint); - /** * Return either: the greatest heartbeat or application state * @@ -284,6 +279,11 @@ public: private: + /** + * @param endpoint end point that is convicted. + */ + future<> convict(inet_address endpoint); + /** * Removes the endpoint from gossip completely *