diff --git a/src/test/cls_rgw/test_cls_rgw.cc b/src/test/cls_rgw/test_cls_rgw.cc index f38a6b5a475..8e0d23f3d35 100644 --- a/src/test/cls_rgw/test_cls_rgw.cc +++ b/src/test/cls_rgw/test_cls_rgw.cc @@ -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)); }