Skip to content

Commit

Permalink
Merge pull request ceph#16383 from mikulely/1-ban-change-swift-obj-pl…
Browse files Browse the repository at this point in the history
…acement

rgw: drop the unnecessary handling of Swift's X-Storage-Policy on objects

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
  • Loading branch information
yuriw authored Jan 9, 2018
2 parents ee5c1c3 + 62fb93a commit ad3502f
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 @@ -1208,7 +1208,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 @@ -1052,7 +1052,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 ad3502f

Please sign in to comment.