test_cls_rgw.c: Call to cls_rgw_bucket_complete_op() needs new parameter.

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
This commit is contained in:
Gary Lowell 2012-11-28 18:11:47 -08:00
parent 6a36ac5bd6
commit 4c3d5dce88

View File

@ -84,7 +84,7 @@ void index_prepare(OpMgr& mgr, librados::IoCtx& ioctx, string& oid, int index_op
void index_complete(OpMgr& mgr, librados::IoCtx& ioctx, string& oid, int index_op, string& tag, int epoch, string& obj, rgw_bucket_dir_entry_meta& meta)
{
ObjectWriteOperation *op = mgr.write_op();
cls_rgw_bucket_complete_op(*op, index_op, tag, epoch, obj, meta);
cls_rgw_bucket_complete_op(*op, index_op, tag, epoch, obj, meta, NULL);
ASSERT_EQ(0, ioctx.operate(oid, op));
}