From: Jiaying Ren Date: Thu, 14 Sep 2017 07:30:45 +0000 (+0800) Subject: rgw: distinguish different get_usage for usage log X-Git-Tag: v15.1.0~1811^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F17719%2Fhead;p=ceph.git rgw: distinguish different get_usage for usage log get_usage op via s3 endpoint are not the same as get_usage via admin endpoint in the rgw usage log categories. Signed-off-by: Jiaying Ren --- diff --git a/src/rgw/rgw_op.h b/src/rgw/rgw_op.h index d9401d87677f..9201470cdaa3 100644 --- a/src/rgw/rgw_op.h +++ b/src/rgw/rgw_op.h @@ -757,7 +757,7 @@ public: virtual bool should_get_stats() { return false; } - const char* name() const override { return "get_usage"; } + const char* name() const override { return "get_self_usage"; } uint32_t op_mask() override { return RGW_OP_TYPE_READ; } };