]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: admin: handle delete_at attr in object stat output 27781/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Thu, 25 Apr 2019 12:13:33 +0000 (14:13 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Thu, 25 Apr 2019 12:13:33 +0000 (14:13 +0200)
Fixes: https://tracker.ceph.com/issues/39481
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_admin.cc

index 6457050511e4e6326d0dc2cda8c97eb24b01c40d..a1b4ec9452413f2e4452c0d01a954457707fe558 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)