From 07cf0e2d24b8e21d47d06488e5aea814c8952039 Mon Sep 17 00:00:00 2001 From: "cao.leilc" Date: Thu, 27 Aug 2020 14:32:38 +0800 Subject: [PATCH] rgw: correct log output when decode bucket CORS attr Signed-off-by: caolei --- src/rgw/rgw_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) { -- 2.47.3