From 5c7d47af5577389d00fc81e455669328ba7ac224 Mon Sep 17 00:00:00 2001 From: Pritha Srivastava Date: Fri, 5 Apr 2024 10:36:42 +0530 Subject: [PATCH] rgw/dbstore: correcting merge_and_store_attrs to store attrs in place of new_attrs. Signed-off-by: Pritha Srivastava --- src/rgw/rgw_sal_dbstore.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_sal_dbstore.cc b/src/rgw/rgw_sal_dbstore.cc index d3af42cf2ec..0e4f95846d1 100644 --- a/src/rgw/rgw_sal_dbstore.cc +++ b/src/rgw/rgw_sal_dbstore.cc @@ -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; } -- 2.39.5