dump_time() encodes this timestamp as json/xml. use dump_time_header()
instead
Fixes: https://tracker.ceph.com/issues/65373
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
b98254084830594875e304246d4d6548dc97e5b2)
try {
ceph::real_time replicated_time;
decode(replicated_time, i->second);
- dump_time(s, "x-rgw-replicated-at", replicated_time);
+ dump_time_header(s, "x-rgw-replicated-at", replicated_time);
} catch (const buffer::error&) {}
}