summaryrefslogtreecommitdiffstats
path: root/src/rgw/services/svc_sync_modules.cc
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@redhat.com>2018-10-04 02:18:57 +0200
committerYehuda Sadeh <yehuda@redhat.com>2018-11-08 18:19:29 +0100
commit4c0675bbc3f554acd052c11329287efc16b02357 (patch)
tree3daef11357a27d8e641e1bd1c2d38ad64d922c0e /src/rgw/services/svc_sync_modules.cc
parentrgw: api fixes following rebase (diff)
downloadceph-4c0675bbc3f554acd052c11329287efc16b02357.tar.xz
ceph-4c0675bbc3f554acd052c11329287efc16b02357.zip
rgw: svc: due to popular demand, get rid of service registry
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Diffstat (limited to 'src/rgw/services/svc_sync_modules.cc')
-rw-r--r--src/rgw/services/svc_sync_modules.cc19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/rgw/services/svc_sync_modules.cc b/src/rgw/services/svc_sync_modules.cc
index e6239628e78..ca6a7a30350 100644
--- a/src/rgw/services/svc_sync_modules.cc
+++ b/src/rgw/services/svc_sync_modules.cc
@@ -2,27 +2,10 @@
#include "rgw/rgw_sync_module.h"
-int RGWS_SyncModules::create_instance(const string& conf, RGWServiceInstanceRef *instance)
-{
- instance->reset(new RGWSI_SyncModules(this, cct));
- return 0;
-}
-
-std::map<string, RGWServiceInstance::dependency> RGWSI_SyncModules::get_deps()
-{
- return std::map<string, RGWServiceInstance::dependency>();
-}
-
-int RGWSI_SyncModules::load(const string& conf, std::map<std::string, RGWServiceInstanceRef>& dep_refs)
-{
- return 0;
-}
-
-int RGWSI_SyncModules::init()
+void RGWSI_SyncModules::init()
{
sync_modules_manager = new RGWSyncModulesManager();
rgw_register_sync_modules(sync_modules_manager);
- return 0;
}
RGWSI_SyncModules::~RGWSI_SyncModules()