]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: remove useless op ret assign
authorimtzw <tongzhiwei_yewu@cmss.chinamobile.com>
Tue, 27 Jun 2023 01:18:09 +0000 (09:18 +0800)
committerimtzw <tongzhiwei_yewu@cmss.chinamobile.com>
Tue, 27 Jun 2023 01:24:03 +0000 (09:24 +0800)
commitec9da5b9fa2f2d873f29242b1a4da390a748758a
tree63955e296a6124992030a69a5997e640f0782347
parentfd62a8dfcb345fabed3eea6b3a461f1ca848a239
rgw: remove useless op ret assign

in op rgwsetbucketwebsite_objstore_s3 and rgwputcors_objstore_s3 get_param
trys to assign op_ret which will be overwritten by return value.
use this to be assigned value as the return value will result in
a same http response because in rgw_common rgw_http_s3_errors will translate
them into the same.

Signed-off-by: imtzw <tongzhiwei_yewu@cmss.chinamobile.com>
src/rgw/rgw_rest_s3.cc