Add bucket and object count along with total object size (#8639)

This commit is contained in:
Ashish Kumar Sinha
2019-12-12 23:28:33 +05:30
committed by Harshavardhana
parent c364f0af6c
commit abc266caa1
2 changed files with 15 additions and 10 deletions

View File

@@ -408,12 +408,12 @@ type Services struct {
// Buckets contains the number of buckets
type Buckets struct {
Count int `json:"count,omitempty"`
Count uint64 `json:"count,omitempty"`
}
// Objects contains the number of objects
type Objects struct {
Count int `json:"count,omitempty"`
Count uint64 `json:"count,omitempty"`
}
// Usage contains the tottal size used