Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion include/mgmt/rpc/handlers/server/Server.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ namespace rpc::handlers::server
{
swoc::Rv<YAML::Node> server_start_drain(std::string_view const &id, YAML::Node const &params);
swoc::Rv<YAML::Node> server_stop_drain(std::string_view const &id, YAML::Node const &);
void server_shutdown(YAML::Node const &);
swoc::Rv<YAML::Node> get_server_status(std::string_view const &id, YAML::Node const &);
swoc::Rv<YAML::Node> get_connection_tracker_info(std::string_view const &id, YAML::Node const &params);

Expand Down
7 changes: 0 additions & 7 deletions src/mgmt/rpc/handlers/server/Server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
limitations under the License.
*/

#include "../../../../iocore/cache/P_CacheDir.h"
#include "iocore/eventsystem/EventProcessor.h"
#include "iocore/net/ConnectionTracker.h"
#include "mgmt/rpc/handlers/server/Server.h"
Expand Down Expand Up @@ -176,12 +175,6 @@ server_stop_drain(std::string_view const & /* id ATS_UNUSED */, YAML::Node const
return resp;
}

void
server_shutdown(YAML::Node const &)
{
sync_cache_dir_on_shutdown();
}

swoc::Rv<YAML::Node>
get_server_status(std::string_view const & /* params ATS_UNUSED */, YAML::Node const & /* params ATS_UNUSED */)
{
Expand Down