]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: Migrate to using non-deprecated class call functions.
authorAlex Ainscow <aainscow@uk.ibm.com>
Mon, 24 Nov 2025 21:08:08 +0000 (21:08 +0000)
committerAlex Ainscow <aainscow@uk.ibm.com>
Tue, 20 Jan 2026 13:10:46 +0000 (13:10 +0000)
Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
src/rgw/driver/rados/buckets.cc
src/rgw/driver/rados/rgw_cr_rados.cc

index c22f9b30e7a99ed7b509f73ccd59ee4fa7a7d2e9..ad1ae5a9561c29cf03b00365bdeee130b51e09dc 100644 (file)
@@ -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;
index 32f36f58db2c4992b513e26aff86c9e1f827038e..05b52318e452007bddf325822d138e53028d620f 100644 (file)
@@ -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);