File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -3847,25 +3847,6 @@ void RGWDeleteBucket::execute(optional_yield y)
38473847 op_ret = -ERR_NO_SUCH_BUCKET;
38483848 return ;
38493849 }
3850- RGWObjVersionTracker ot;
3851- ot.read_version = s->bucket ->get_version ();
3852-
3853- if (s->system_request ) {
3854- string tag = s->info .args .get (RGW_SYS_PARAM_PREFIX " tag" );
3855- string ver_str = s->info .args .get (RGW_SYS_PARAM_PREFIX " ver" );
3856- if (!tag.empty ()) {
3857- ot.read_version .tag = tag;
3858- uint64_t ver;
3859- string err;
3860- ver = strict_strtol (ver_str.c_str (), 10 , &err);
3861- if (!err.empty ()) {
3862- ldpp_dout (this , 0 ) << " failed to parse ver param" << dendl;
3863- op_ret = -EINVAL;
3864- return ;
3865- }
3866- ot.read_version .ver = ver;
3867- }
3868- }
38693850
38703851 const bool own_bucket = s->penv .site ->get_zonegroup ().get_id () == s->bucket ->get_info ().zonegroup ;
38713852
You can’t perform that action at this time.
0 commit comments