]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: pubsub: pass yield context
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 1 Dec 2021 19:35:27 +0000 (11:35 -0800)
committerKalpesh Pandya <kapandya@redhat.com>
Mon, 19 Jun 2023 21:48:30 +0000 (03:18 +0530)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/driver/rados/rgw_notify.cc

index b1835016ec0eef21b9adc01ace1e43c67f74fc50..8116945479c1a7b3ea10d6e33bcbdf40c4313db6 100644 (file)
@@ -792,7 +792,7 @@ static inline bool notification_match(reservation_t& res,
   const RGWPubSub ps(res.store, res.user_tenant);
   const RGWPubSub::Bucket ps_bucket(ps, res.bucket);
   rgw_pubsub_bucket_topics bucket_topics;
-  auto rc = ps_bucket.get_topics(res.dpp, bucket_topics, res.yield);
+  auto rc = ps_bucket.get_topics(res.dpp, bucket_topics, res.s->yield);
   if (rc < 0) {
     // failed to fetch bucket topics
     return rc;