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 <nikhilladha1999@gmail.com>
This commit is contained in:
Nikhil-Ladha 2023-03-16 16:54:13 +05:30 committed by mergify[bot]
parent 50926448c5
commit 96408092ab
1 changed files with 1 additions and 0 deletions

View File

@ -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"`