From e2501aa64c458edbecb2175faff2e8bfe3a6e137 Mon Sep 17 00:00:00 2001 From: Amnon Heiman Date: Sat, 12 Sep 2015 02:26:26 +0300 Subject: [PATCH] API: Compaction manager to return 0 for number of compaction Until there will be an API for the compaction manager, the API return 0 for the number of total compaction. Signed-off-by: Amnon Heiman --- api/compaction_manager.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/compaction_manager.cc b/api/compaction_manager.cc index eafb39d468..4fa6881eda 100644 --- a/api/compaction_manager.cc +++ b/api/compaction_manager.cc @@ -56,8 +56,9 @@ void set_compaction_manager(http_context& ctx, routes& r) { }); cm::get_total_compactions_completed.set(r, [] (std::unique_ptr req) { - //TBD - unimplemented(); + // FIXME + // We are currently dont have an API for compaction + // so returning a 0 as the number of total compaction is ok return make_ready_future(0); });