diff options
author | Yehuda Sadeh <yehuda@inktank.com> | 2013-09-06 22:33:38 -0700 |
---|---|---|
committer | Yehuda Sadeh <yehuda@inktank.com> | 2013-09-06 22:33:38 -0700 |
commit | 13872785aeeddbe1b8dd97e49fd6a2d879514f8d (patch) | |
tree | 9fab7b1e75137133221a8e134f41b3bfaaefbf81 | |
parent | 9a551296e0811f2b65972377b25bb28dbb42f575 (diff) | |
download | ceph-13872785aeeddbe1b8dd97e49fd6a2d879514f8d.tar.gz |
rgw: fix get cors, delete cors
Remove a couple of variables that overrode class member. Not
really clear how it was working before, might have been a bad
merge / rebase.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r-- | src/rgw/rgw_op.cc | 1 | ||||
-rw-r--r-- | src/rgw/rgw_op.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index b5ed3e7fd6f..114b8709a22 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -1994,7 +1994,6 @@ int RGWDeleteCORS::verify_permission() void RGWDeleteCORS::execute() { - RGWCORSConfiguration bucket_cors; ret = read_bucket_cors(); if (ret < 0) return; diff --git a/src/rgw/rgw_op.h b/src/rgw/rgw_op.h index 241584bac68..948a11830c2 100644 --- a/src/rgw/rgw_op.h +++ b/src/rgw/rgw_op.h @@ -531,7 +531,6 @@ public: class RGWGetCORS : public RGWOp { protected: int ret; - RGWCORSConfiguration bucket_cors; public: RGWGetCORS() : ret(0) {} |