diff options
author | Jiaying Ren <jiaying.ren@umcloud.com> | 2017-09-14 09:30:45 +0200 |
---|---|---|
committer | Jiaying Ren <jiaying.ren@umcloud.com> | 2019-08-21 04:29:20 +0200 |
commit | e53013ebb8bb73549e268389126d5892aa9bb71d (patch) | |
tree | 660af29400e772dc1db05fb2e835fa5ec2aa9c17 | |
parent | Merge PR #29717 into master (diff) | |
download | ceph-e53013ebb8bb73549e268389126d5892aa9bb71d.tar.xz ceph-e53013ebb8bb73549e268389126d5892aa9bb71d.zip |
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 <jiaying.ren@umcloud.com>
-rw-r--r-- | src/rgw/rgw_op.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_op.h b/src/rgw/rgw_op.h index d9401d87677..9201470cdaa 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; } }; |