mirror of
https://github.com/ceph/ceph
synced 2025-03-30 23:40:09 +00:00
rgw: use const for string constants in rgw_data_sync.cc
Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
parent
df444852fc
commit
e2e131242f
@ -46,12 +46,11 @@
|
|||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
static string datalog_sync_status_oid_prefix = "datalog.sync-status";
|
static const string datalog_sync_status_oid_prefix = "datalog.sync-status";
|
||||||
static string datalog_sync_status_shard_prefix = "datalog.sync-status.shard";
|
static const string datalog_sync_status_shard_prefix = "datalog.sync-status.shard";
|
||||||
static string datalog_sync_full_sync_index_prefix = "data.full-sync.index";
|
static const string datalog_sync_full_sync_index_prefix = "data.full-sync.index";
|
||||||
static string bucket_status_oid_prefix = "bucket.sync-status";
|
static const string bucket_status_oid_prefix = "bucket.sync-status";
|
||||||
static string object_status_oid_prefix = "bucket.sync-status";
|
static const string object_status_oid_prefix = "bucket.sync-status";
|
||||||
|
|
||||||
|
|
||||||
void rgw_datalog_info::decode_json(JSONObj *obj) {
|
void rgw_datalog_info::decode_json(JSONObj *obj) {
|
||||||
JSONDecoder::decode_json("num_objects", num_shards, obj);
|
JSONDecoder::decode_json("num_objects", num_shards, obj);
|
||||||
|
Loading…
Reference in New Issue
Block a user