]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw/amqp: store CA location string in connection object
authorYuval Lifshitz <ylifshit@redhat.com>
Tue, 11 Oct 2022 13:46:39 +0000 (16:46 +0300)
committerYuval Lifshitz <ylifshit@redhat.com>
Tue, 11 Oct 2022 13:48:14 +0000 (16:48 +0300)
Fixes: https://tracker.ceph.com/issues/57850
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
src/rgw/rgw_amqp.cc

index a56c8269b04d011c35905c64999768e932ce4f8f..186bdd54ad6fe4271912633c6ba5fd334cc3452b 100644 (file)
@@ -130,7 +130,7 @@ struct connection_t {
   bool mandatory;
   bool use_ssl;
   bool verify_ssl;
-  boost::optional<const std::string&> ca_location;
+  boost::optional<std::string> ca_location;
   utime_t timestamp = ceph_clock_now();
 
   // default ctor