]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: admin: handle delete_at attr in object stat output 27827/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Thu, 25 Apr 2019 12:13:33 +0000 (14:13 +0200)
committerAshish Singh <assingh@redhat.com>
Sat, 27 Apr 2019 15:36:43 +0000 (21:06 +0530)
Fixes: https://tracker.ceph.com/issues/39481
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit 90999a4de8e21551a98e0fe28acbadc158a7bc65)

src/rgw/rgw_admin.cc

index 655685f0af6211841f6aa0f628bc5b37b2195e62..8621dffc18341b4578ebac7cbae269ecdec8fdd4 100644 (file)
@@ -6432,6 +6432,8 @@ next:
         handled = dump_string("etag", bl, formatter);
       } else if (iter->first == RGW_ATTR_COMPRESSION) {
         handled = decode_dump<RGWCompressionInfo>("compression", bl, formatter);
+      } else if (iter->first == RGW_ATTR_DELETE_AT) {
+        handled = decode_dump<utime_t>("delete_at", bl, formatter);
       }
 
       if (!handled)