]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix unitest compilation
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 15 Jan 2015 16:34:12 +0000 (08:34 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 19 Jan 2015 23:58:02 +0000 (15:58 -0800)
Add the needed extra param for bilog_flags.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/test/cls_rgw/test_cls_rgw.cc

index dc3d226c0c010ddd87552ce2f8d4c826895dc853..0d34b3589075d213118a8c959564175d908e792d 100644 (file)
@@ -78,7 +78,7 @@ void index_prepare(OpMgr& mgr, librados::IoCtx& ioctx, string& oid, RGWModifyOp
 {
   ObjectWriteOperation *op = mgr.write_op();
   cls_rgw_obj_key key(obj, string());
-  cls_rgw_bucket_prepare_op(*op, index_op, tag, key, loc, true);
+  cls_rgw_bucket_prepare_op(*op, index_op, tag, key, loc, true, 0);
   ASSERT_EQ(0, ioctx.operate(oid, op));
 }
 
@@ -89,7 +89,7 @@ void index_complete(OpMgr& mgr, librados::IoCtx& ioctx, string& oid, RGWModifyOp
   rgw_bucket_entry_ver ver;
   ver.pool = ioctx.get_id();
   ver.epoch = epoch;
-  cls_rgw_bucket_complete_op(*op, index_op, tag, ver, key, meta, NULL, true);
+  cls_rgw_bucket_complete_op(*op, index_op, tag, ver, key, meta, NULL, true, 0);
   ASSERT_EQ(0, ioctx.operate(oid, op));
 }