Merge pull request #7413 from YankunLi/dev

rgw: remove duplicated code in RGWRados::get_bucket_info()

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
Yehuda Sadeh 2016-02-10 11:16:30 -08:00
commit da554ae9b2

View File

@ -7663,8 +7663,6 @@ int RGWRados::get_bucket_info(RGWObjectCtx& obj_ctx,
ldout(cct, 20) << "rgw_get_bucket_info: bucket instance: " << entry_point.bucket << dendl;
if (pattrs)
pattrs->clear();
/* read bucket instance info */