From 96408092abd822d97dcbafa6aeb0d6ba08c729ef Mon Sep 17 00:00:00 2001 From: Nikhil-Ladha Date: Thu, 16 Mar 2023 16:54:13 +0530 Subject: [PATCH] rgw/admin: Add missing uid member to usage struct **Description:** Added the uid member to the usage type. We don't need to handle the uid here, as the ceph funtion handles it in the backend. Fixes: #758 Signed-off-by: Nikhil-Ladha --- rgw/admin/usage.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rgw/admin/usage.go b/rgw/admin/usage.go index d4ecbaa..bd095f5 100644 --- a/rgw/admin/usage.go +++ b/rgw/admin/usage.go @@ -41,6 +41,7 @@ type Usage struct { SuccessfulOps uint64 `json:"successful_ops"` } `json:"total"` } `json:"summary"` + UserID string `url:"uid"` Start string `url:"start"` //Example: 2012-09-25 16:00:00 End string `url:"end"` ShowEntries *bool `url:"show-entries"`