From: Alex Ainscow Date: Mon, 24 Nov 2025 21:08:08 +0000 (+0000) Subject: rgw: Migrate to using non-deprecated class call functions. X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=05fe0527065fa73dd71a3448cf6ce30307361205;p=ceph-ci.git rgw: Migrate to using non-deprecated class call functions. Signed-off-by: Alex Ainscow --- diff --git a/src/rgw/driver/rados/buckets.cc b/src/rgw/driver/rados/buckets.cc index c22f9b30e7a..ad1ae5a9561 100644 --- a/src/rgw/driver/rados/buckets.cc +++ b/src/rgw/driver/rados/buckets.cc @@ -242,7 +242,7 @@ int reset_stats(const DoutPrefixProvider* dpp, optional_yield y, ret.update_call(call); encode(call, in); - op.exec("user", "reset_user_stats2", in, &out, &rval); + op.exec(cls::user::method::reset_user_stats2, in, &out, &rval); r = ref.operate(dpp, std::move(op), y, librados::OPERATION_RETURNVEC); if (r < 0) { return r; diff --git a/src/rgw/driver/rados/rgw_cr_rados.cc b/src/rgw/driver/rados/rgw_cr_rados.cc index 32f36f58db2..05b52318e45 100644 --- a/src/rgw/driver/rados/rgw_cr_rados.cc +++ b/src/rgw/driver/rados/rgw_cr_rados.cc @@ -718,7 +718,7 @@ int RGWRadosBILogTrimCR::send_request(const DoutPrefixProvider *dpp) librados::ObjectWriteOperation op; op.assert_exists(); - op.exec(RGW_CLASS, RGW_BI_LOG_TRIM, in); + op.exec(cls::rgw::method::bi_log_trim, in); cn = stack->create_completion_notifier(); return bs.bucket_obj.aio_operate(cn->completion(), &op);