summaryrefslogtreecommitdiffstats
path: root/src/rgw/driver/rados/rgw_datalog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rgw/driver/rados/rgw_datalog.h')
-rw-r--r--src/rgw/driver/rados/rgw_datalog.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rgw/driver/rados/rgw_datalog.h b/src/rgw/driver/rados/rgw_datalog.h
index 58042df2c62..6cfaee9dc82 100644
--- a/src/rgw/driver/rados/rgw_datalog.h
+++ b/src/rgw/driver/rados/rgw_datalog.h
@@ -241,10 +241,7 @@ class RGWDataChangesLog {
std::unique_ptr<DataLogBackends> bes;
const int num_shards;
- std::string get_prefix() {
- auto prefix = cct->_conf->rgw_data_log_obj_prefix;
- return prefix.empty() ? prefix : "data_log";
- }
+ std::string get_prefix() { return "data_log"; }
std::string metadata_log_oid() {
return get_prefix() + "generations_metadata";
}