diff options
author | J. Eric Ivancich <ivancich@redhat.com> | 2025-01-17 19:13:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-17 19:13:54 +0100 |
commit | 3b5dc13cc64fd04c8ee77c79b88e605dd68a1d94 (patch) | |
tree | 34ac601cb1da579c52c403f12f860e83908a4c5f /src/rgw/rgw_rest_swift.cc | |
parent | Merge pull request #61387 from yuvalif/wip-yuval-69473 (diff) | |
parent | rgw: add missing last_modified field to swift api (diff) | |
download | ceph-3b5dc13cc64fd04c8ee77c79b88e605dd68a1d94.tar.xz ceph-3b5dc13cc64fd04c8ee77c79b88e605dd68a1d94.zip |
Merge pull request #61157 from aiivashchenko/fix_68195
rgw: add missing last_modified field to swift api
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/rgw_rest_swift.cc')
-rw-r--r-- | src/rgw/rgw_rest_swift.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/rgw_rest_swift.cc b/src/rgw/rgw_rest_swift.cc index b8ff3ca2fe8..88af0fc9c27 100644 --- a/src/rgw/rgw_rest_swift.cc +++ b/src/rgw/rgw_rest_swift.cc @@ -361,6 +361,7 @@ void RGWListBuckets_ObjStore_SWIFT::dump_bucket_entry(const RGWBucketEnt& ent) if (need_stats) { s->formatter->dump_int("count", ent.count); s->formatter->dump_int("bytes", ent.size); + dump_time(s, "last_modified", ent.modification_time); } s->formatter->close_section(); |