]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw/dbstore: correcting merge_and_store_attrs to store attrs
authorPritha Srivastava <prsrivas@redhat.com>
Fri, 5 Apr 2024 05:06:42 +0000 (10:36 +0530)
committerPritha Srivastava <prsrivas@redhat.com>
Wed, 20 Nov 2024 05:25:22 +0000 (10:55 +0530)
in place of new_attrs.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
src/rgw/rgw_sal_dbstore.cc

index d3af42cf2ec0399666676edb50673bb2bca30c48..0e4f95846d189475ca2c48ef0a615d6d6ba9bfe7 100644 (file)
@@ -271,7 +271,7 @@ namespace rgw::sal {
 
     /* XXX: handle has_instance_obj like in set_bucket_instance_attrs() */
 
-    ret = store->getDB()->update_bucket(dpp, "attrs", info, false, nullptr, &new_attrs, nullptr, &get_info().objv_tracker);
+    ret = store->getDB()->update_bucket(dpp, "attrs", info, false, nullptr, &attrs, nullptr, &get_info().objv_tracker);
 
     return ret;
   }