summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_pubsub.h
diff options
context:
space:
mode:
authorYuval Lifshitz <ylifshit@redhat.com>2022-11-21 13:52:08 +0100
committerYuval Lifshitz <ylifshit@redhat.com>2022-11-30 19:48:16 +0100
commitea7089c091453c8b007e10a42ff5688c3284f524 (patch)
tree347ed389f825a04d6aaf7471de6384dffef12d03 /src/rgw/rgw_pubsub.h
parentrgw/pubsub: remove pusub subscription functionality (diff)
downloadceph-ea7089c091453c8b007e10a42ff5688c3284f524.tar.xz
ceph-ea7089c091453c8b007e10a42ff5688c3284f524.zip
rgw/pubsub: remove deprecated pubsub event types
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
Diffstat (limited to '')
-rw-r--r--src/rgw/rgw_pubsub.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rgw/rgw_pubsub.h b/src/rgw/rgw_pubsub.h
index c3b0b4d0775..c0e9e144bb2 100644
--- a/src/rgw/rgw_pubsub.h
+++ b/src/rgw/rgw_pubsub.h
@@ -493,8 +493,7 @@ struct rgw_pubsub_topic_filter {
encode(topic, bl);
// events are stored as a vector of std::strings
std::vector<std::string> tmp_events;
- const auto converter = s3_id.empty() ? rgw::notify::to_ceph_string : rgw::notify::to_string;
- std::transform(events.begin(), events.end(), std::back_inserter(tmp_events), converter);
+ std::transform(events.begin(), events.end(), std::back_inserter(tmp_events), rgw::notify::to_string);
encode(tmp_events, bl);
encode(s3_id, bl);
encode(s3_filter, bl);