From: cao.leilc Date: Thu, 27 Aug 2020 06:32:38 +0000 (+0800) Subject: rgw: correct log output when decode bucket CORS attr X-Git-Tag: v16.1.0~1311^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F36844%2Fhead;p=ceph.git rgw: correct log output when decode bucket CORS attr Signed-off-by: caolei --- diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index b91d2085434e..19848d121012 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -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()) {