]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: admin: handle delete_at attr in object stat output 27828/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:41:48 +0000 (21:11 +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 1bd89a59a1e538353bccddccc24d7730402155f7..cee4791b1167fab4480fb5be1f8c48f5e61614bf 100644 (file)
@@ -6342,6 +6342,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)