Bucket,Object count & Usage removed if set to default (#8638)

This commit is contained in:
Ashish Kumar Sinha authored and kannappanr committed 2019-12-11 21:56:47 -08:00
1 parent fa00a84709
commit e2c5d29017
2 files changed
+37 -37

No files matched your search

+3 -3
View File
@@ -1382,9 +1382,9 @@ func (a adminAPIHandlers) ServerInfoHandler(w http.ResponseWriter, r *http.Reque
}
domain := globalDomainNames
buckets := madmin.Buckets{Count: 20}
objects := madmin.Objects{Count: 200}
usage := madmin.Usage{Size: 1024}
buckets := madmin.Buckets{}
objects := madmin.Objects{}
usage := madmin.Usage{}
services := madmin.Services{
Vault: vault,
LDAP: ldap,