]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: assign versioned_epoch on bucket listing response
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 21 Jan 2015 20:02:37 +0000 (12:02 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 21 Jan 2015 20:02:37 +0000 (12:02 -0800)
For some reason this was missing.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_rados.cc

index 91208ba66a93703db6327c7b7ef26a7d8b6208aa..ff300c186c3e11be8cccc3bdf803b016635d874b 100644 (file)
@@ -7185,6 +7185,7 @@ int RGWRados::cls_bucket_list(rgw_bucket& bucket, rgw_obj_key& start, const stri
     e.content_type = dirent.meta.content_type;
     e.tag = dirent.tag;
     e.flags = dirent.flags;
+    e.versioned_epoch = dirent.versioned_epoch;
 
     /* oh, that shouldn't happen! */
     if (e.key.empty()) {