Fixes: https://tracker.ceph.com/issues/41925
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
set_req_state_err(s, r);
dump_errno(s);
end_header(s, this);
-
- if (s->system_request) {
- JSONFormatter f; /* use json formatter for system requests output */
-
- f.open_object_section("info");
- encode_json("object_ver", objv_tracker.read_version, &f);
- f.close_section();
- rgw_flush_formatter_and_reset(s, &f);
- }
}
static inline void map_qs_metadata(struct req_state* s)