Skip to content

Commit

Permalink
Merge pull request ceph#60499 from clwluvw/bucket-layout-output
Browse files Browse the repository at this point in the history
rgw: fix json output for bucket layout

Reviewed-by: Casey Bodley <[email protected]>
  • Loading branch information
cbodley authored Dec 16, 2024
2 parents ab486ea + 30b9c4b commit ce87d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_bucket_layout.cc
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,9 @@ void encode_json_impl(const char *name, const BucketLayout& l, ceph::Formatter *
for (const auto& log : l.logs) {
encode_json("log", log, f);
}
f->close_section(); // logs[]
utime_t jt(l.judge_reshard_lock_time);
encode_json("judge_reshard_lock_time", jt, f);
f->close_section(); // logs[]
f->close_section();
}
void decode_json_obj(BucketLayout& l, JSONObj *obj)
Expand Down

0 comments on commit ce87d8f

Please sign in to comment.