Skip to content

Commit 088f5ab

Browse files
committed
cls/rgw: rgw_cls_bi_entry::get_info() is const
Signed-off-by: Casey Bodley <[email protected]>
1 parent cce8412 commit 088f5ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cls/rgw/cls_rgw_types.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ void rgw_cls_bi_entry::dump(Formatter *f) const
406406

407407
bool rgw_cls_bi_entry::get_info(cls_rgw_obj_key *key,
408408
RGWObjCategory *category,
409-
rgw_bucket_category_stats *accounted_stats)
409+
rgw_bucket_category_stats *accounted_stats) const
410410
{
411411
using ceph::decode;
412412
auto iter = data.cbegin();

src/cls/rgw/cls_rgw_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ struct rgw_cls_bi_entry {
505505
void decode_json(JSONObj *obj, cls_rgw_obj_key *effective_key = NULL);
506506
static void generate_test_instances(std::list<rgw_cls_bi_entry*>& o);
507507
bool get_info(cls_rgw_obj_key *key, RGWObjCategory *category,
508-
rgw_bucket_category_stats *accounted_stats);
508+
rgw_bucket_category_stats *accounted_stats) const;
509509
};
510510
WRITE_CLASS_ENCODER(rgw_cls_bi_entry)
511511

0 commit comments

Comments
 (0)