Skip to content

Commit

Permalink
rgw/dbstore: correcting merge_and_store_attrs to store attrs
Browse files Browse the repository at this point in the history
in place of new_attrs.

Signed-off-by: Pritha Srivastava <[email protected]>
  • Loading branch information
pritha-srivastava committed Nov 20, 2024
1 parent 8c02504 commit 5c7d47a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_sal_dbstore.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5c7d47a

Please sign in to comment.