Merge pull request #36844 from BryceCao/wip-correct-log-output

rgw: correct log output when decode bucket CORS attr
This commit is contained in:
Daniel Gryniewicz 2020-08-27 08:30:00 -04:00 committed by GitHub
commit 9d14078d6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1424,7 +1424,7 @@ int RGWOp::read_bucket_cors()
try {
bucket_cors.decode(iter);
} catch (buffer::error& err) {
ldpp_dout(this, 0) << "ERROR: could not decode policy, caught buffer::error" << dendl;
ldpp_dout(this, 0) << "ERROR: could not decode CORS, caught buffer::error" << dendl;
return -EIO;
}
if (s->cct->_conf->subsys.should_gather<ceph_subsys_rgw, 15>()) {