]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: sync_module: register aws module
authorAbhishek Lekshmanan <abhishek@suse.com>
Wed, 22 Feb 2017 12:38:48 +0000 (13:38 +0100)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 10 Apr 2018 15:03:10 +0000 (08:03 -0700)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_sync_module.cc

index 215dcf2fee0fbab1bc40aebee60d0940f88dc8b2..635cc3c519c4b3fd2b4723e54567317c0882546d 100644 (file)
@@ -6,6 +6,7 @@
 
 #include "rgw_sync_module_log.h"
 #include "rgw_sync_module_es.h"
+#include "rgw_sync_module_aws.h"
 
 #include <boost/asio/yield.hpp>
 
@@ -63,4 +64,7 @@ void rgw_register_sync_modules(RGWSyncModulesManager *modules_manager)
 
   RGWSyncModuleRef es_module(std::make_shared<RGWElasticSyncModule>());
   modules_manager->register_module("elasticsearch", es_module);
+
+  RGWSyncModuleRef aws_module(std::make_shared<RGWAWSSyncModule>());
+  modules_manager->register_module("aws", aws_module);
 }