]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix incomplete RGWRESTConn move constructor/assignment
authorOguzhan Ozmen <oozmen@bloomberg.net>
Sat, 7 Feb 2026 02:00:16 +0000 (02:00 +0000)
committerOguzhan Ozmen <oozmen@bloomberg.net>
Tue, 2 Jun 2026 22:16:20 +0000 (22:16 +0000)
Signed-off-by: Oguzhan Ozmen <oozmen@bloomberg.net>
src/rgw/rgw_rest_conn.cc

index fb54bc57a818545d00d8ce7fafcce8ba82d1b8e5..727cef4331ce992afcee9bf1acd6ba799b176818 100644 (file)
@@ -130,7 +130,9 @@ RGWRESTConn::RGWRESTConn(RGWRESTConn&& other)
     resolved_endpoints(std::move(other.resolved_endpoints)),
     key(std::move(other.key)),
     self_zone_group(std::move(other.self_zone_group)),
-    remote_id(std::move(other.remote_id))
+    remote_id(std::move(other.remote_id)),
+    api_name(std::move(other.api_name)),
+    host_style(other.host_style)
 {
 }
 
@@ -143,6 +145,8 @@ RGWRESTConn& RGWRESTConn::operator=(RGWRESTConn&& other)
   key = std::move(other.key);
   self_zone_group = std::move(other.self_zone_group);
   remote_id = std::move(other.remote_id);
+  api_name = std::move(other.api_name);
+  host_style = other.host_style;
   return *this;
 }