summaryrefslogtreecommitdiffstats
path: root/src/test/cls_rgw/test_cls_rgw.cc
diff options
context:
space:
mode:
authorJ. Eric Ivancich <ivancich@redhat.com>2018-11-07 21:33:52 +0100
committerJ. Eric Ivancich <ivancich@redhat.com>2018-11-17 00:34:54 +0100
commit20868bd3b893ba2e17d2bfdc63d6544dbe677a9b (patch)
treeffe8c82496350a89a14cf3e1951f639de7e15306 /src/test/cls_rgw/test_cls_rgw.cc
parentrgw: fix bug in error codes returned (diff)
downloadceph-20868bd3b893ba2e17d2bfdc63d6544dbe677a9b.tar.xz
ceph-20868bd3b893ba2e17d2bfdc63d6544dbe677a9b.zip
rgw: rename function for clarity
The function cls_rgw_bucket_init was renamed to cls_rgw_bucket_init_index in order to better describe its functionality. Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
Diffstat (limited to 'src/test/cls_rgw/test_cls_rgw.cc')
-rw-r--r--src/test/cls_rgw/test_cls_rgw.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/cls_rgw/test_cls_rgw.cc b/src/test/cls_rgw/test_cls_rgw.cc
index 7e78acf8a1c..dad95ea39a4 100644
--- a/src/test/cls_rgw/test_cls_rgw.cc
+++ b/src/test/cls_rgw/test_cls_rgw.cc
@@ -116,7 +116,7 @@ TEST(cls_rgw, index_basic)
OpMgr mgr;
ObjectWriteOperation *op = mgr.write_op();
- cls_rgw_bucket_init(*op);
+ cls_rgw_bucket_init_index(*op);
ASSERT_EQ(0, ioctx.operate(bucket_oid, op));
uint64_t epoch = 1;
@@ -150,7 +150,7 @@ TEST(cls_rgw, index_multiple_obj_writers)
OpMgr mgr;
ObjectWriteOperation *op = mgr.write_op();
- cls_rgw_bucket_init(*op);
+ cls_rgw_bucket_init_index(*op);
ASSERT_EQ(0, ioctx.operate(bucket_oid, op));
uint64_t obj_size = 1024;
@@ -187,7 +187,7 @@ TEST(cls_rgw, index_remove_object)
OpMgr mgr;
ObjectWriteOperation *op = mgr.write_op();
- cls_rgw_bucket_init(*op);
+ cls_rgw_bucket_init_index(*op);
ASSERT_EQ(0, ioctx.operate(bucket_oid, op));
uint64_t obj_size = 1024;
@@ -279,7 +279,7 @@ TEST(cls_rgw, index_suggest)
OpMgr mgr;
ObjectWriteOperation *op = mgr.write_op();
- cls_rgw_bucket_init(*op);
+ cls_rgw_bucket_init_index(*op);
ASSERT_EQ(0, ioctx.operate(bucket_oid, op));
uint64_t total_size = 0;
@@ -390,7 +390,7 @@ TEST(cls_rgw, index_list)
OpMgr mgr;
ObjectWriteOperation *op = mgr.write_op();
- cls_rgw_bucket_init(*op);
+ cls_rgw_bucket_init_index(*op);
ASSERT_EQ(0, ioctx.operate(bucket_oid, op));
uint64_t epoch = 1;
@@ -452,7 +452,7 @@ TEST(cls_rgw, bi_list)
OpMgr mgr;
ObjectWriteOperation *op = mgr.write_op();
- cls_rgw_bucket_init(*op);
+ cls_rgw_bucket_init_index(*op);
ASSERT_EQ(0, ioctx.operate(bucket_oid, op));
string name;