]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/amqp: store CA location string in connection object 54170/head
authorYuval Lifshitz <ylifshit@redhat.com>
Tue, 11 Oct 2022 13:46:39 +0000 (16:46 +0300)
committerYuval Lifshitz <ylifshit@redhat.com>
Tue, 24 Oct 2023 15:35:32 +0000 (15:35 +0000)
Fixes: https://tracker.ceph.com/issues/57850
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
(cherry picked from commit 97ef1546360bc97eb8f47721ada506f13397e713)

src/rgw/rgw_amqp.cc

index 6a11adf0692a18bb5626dfa893973a9746a3860f..eee9399cc98d94c441d5fb97062901f0b695df85 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