We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 52d63b5 + fe4f03d commit d32c879Copy full SHA for d32c879
src/rgw/driver/rados/rgw_notify.cc
@@ -1111,8 +1111,8 @@ int publish_reserve(const DoutPrefixProvider* dpp,
1111
1112
// reload the topic in case it changed since the notification was added
1113
const std::string& topic_tenant = std::visit(fu2::overload(
1114
- [] (const rgw_user& u) -> const std::string& { return u.tenant; },
1115
- [] (const rgw_account_id& a) -> const std::string& { return a; }
+ [] (const rgw_user& u) -> std::string { return u.tenant; },
+ [] (const rgw_account_id& a) -> std::string { return a; }
1116
), topic_cfg.owner);
1117
const RGWPubSub ps(res.store, topic_tenant, site);
1118
int ret = ps.get_topic(res.dpp, topic_cfg.dest.arn_topic,
0 commit comments