]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: rename search variable to better indicate semantics
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 3 Sep 2019 19:14:21 +0000 (15:14 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Fri, 24 Jan 2020 18:45:09 +0000 (13:45 -0500)
commit37a4cfc3cad25638a2048e790cd4e1d31b27bf3f
treeade09b4f5efb9417e94ef62f98aefbe0e7e25143
parent3084a7fef76ae3054759e0687e8e12ef3ad08dad
rgw: rename search variable to better indicate semantics

cls_cxx_map_get_vals takes a parameter of where in the sequence of
keys to start returning values. In code it's often referred to as the
"start_key", but in fact it only returns values who have keys *after*
it. To clarify the semantics, rename the variable to "start_after_key"
in the bucket listing functions in both rgw and cls.

Also, declare a type RGWRados::check_filter_t, so the type does not
have to be fully literalized multiple times.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/cls/rgw/cls_rgw.cc
src/rgw/rgw_admin.cc
src/rgw/rgw_bucket.cc
src/rgw/rgw_bucket.h
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h