From b4592f3588d2cff5766949508d181ef603128ff4 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Wed, 13 Dec 2023 15:32:37 -0500 Subject: rgw/multisite: error repo coroutines initialize rados pointer Signed-off-by: Casey Bodley --- src/rgw/driver/rados/rgw_sync_error_repo.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rgw/driver/rados/rgw_sync_error_repo.cc b/src/rgw/driver/rados/rgw_sync_error_repo.cc index c180497bd73..b07037d655d 100644 --- a/src/rgw/driver/rados/rgw_sync_error_repo.cc +++ b/src/rgw/driver/rados/rgw_sync_error_repo.cc @@ -127,7 +127,7 @@ class RGWErrorRepoWriteCR : public RGWSimpleCoroutine { RGWErrorRepoWriteCR(librados::Rados* rados, const rgw_raw_obj& raw_obj, const std::string& key, ceph::real_time timestamp) : RGWSimpleCoroutine(static_cast(rados->cct())), - raw_obj(raw_obj), + rados(rados), raw_obj(raw_obj), key(key), timestamp(timestamp) {} @@ -172,7 +172,7 @@ class RGWErrorRepoRemoveCR : public RGWSimpleCoroutine { RGWErrorRepoRemoveCR(librados::Rados* rados, const rgw_raw_obj& raw_obj, const std::string& key, ceph::real_time timestamp) : RGWSimpleCoroutine(static_cast(rados->cct())), - raw_obj(raw_obj), + rados(rados), raw_obj(raw_obj), key(key), timestamp(timestamp) {} -- cgit v1.2.3