mirror of
https://github.com/ceph/ceph
synced 2025-01-19 01:21:49 +00:00
Merge pull request #15837 from fangyuxiangGL/placement-rule-err
rgw: fix err when copy object in bucket with specified placement rule Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
d91f57c0d4
@ -134,6 +134,7 @@ public:
|
||||
rgw_obj_select(const rgw_obj& _obj) : obj(_obj), is_raw(false) {}
|
||||
rgw_obj_select(const rgw_raw_obj& _raw_obj) : raw_obj(_raw_obj), is_raw(true) {}
|
||||
rgw_obj_select(const rgw_obj_select& rhs) {
|
||||
placement_rule = rhs.placement_rule;
|
||||
is_raw = rhs.is_raw;
|
||||
if (is_raw) {
|
||||
raw_obj = rhs.raw_obj;
|
||||
|
Loading…
Reference in New Issue
Block a user