mirror of
https://github.com/ceph/ceph
synced 2025-01-10 21:20:46 +00:00
Merge pull request #27617 from cbodley/wip-39295
rgw: bucket stats report mtime in UTC Reviewed-by: Matt Benjamin <mbenjamin@redhat.com> Reviewed-by: Alfonso Martínez <almartin@redhat.com>
This commit is contained in:
commit
a553edbb4b
@ -1452,7 +1452,7 @@ static int bucket_stats(RGWRados *store, const std::string& tenant_name, std::st
|
||||
::encode_json("owner", bucket_info.owner, formatter);
|
||||
formatter->dump_string("ver", bucket_ver);
|
||||
formatter->dump_string("master_ver", master_ver);
|
||||
formatter->dump_stream("mtime") << ut;
|
||||
ut.gmtime(formatter->dump_stream("mtime"));
|
||||
formatter->dump_string("max_marker", max_marker);
|
||||
dump_bucket_usage(stats, formatter);
|
||||
encode_json("bucket_quota", bucket_info.quota, formatter);
|
||||
|
Loading…
Reference in New Issue
Block a user