Skip to content

Commit

Permalink
rgw: swift ignore obj storage policy during change obj meta
Browse files Browse the repository at this point in the history
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
  • Loading branch information
Jiaying Ren committed Jul 19, 2017
1 parent b39a402 commit 62fb93a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/rgw/rgw_op.h
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,6 @@ class RGWPutMetadataBucket : public RGWOp {
class RGWPutMetadataObject : public RGWOp {
protected:
RGWAccessControlPolicy policy;
string placement_rule;
boost::optional<ceph::real_time> delete_at;
const char *dlo_manifest;

Expand Down
1 change: 0 additions & 1 deletion src/rgw/rgw_rest_swift.cc
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,6 @@ int RGWPutMetadataObject_ObjStore_SWIFT::get_params()
return r;
}

placement_rule = s->info.env->get("HTTP_X_STORAGE_POLICY", "");
dlo_manifest = s->info.env->get("HTTP_X_OBJECT_MANIFEST");

return 0;
Expand Down

0 comments on commit 62fb93a

Please sign in to comment.