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

This commit is contained in:
Ashish Kumar Sinha
2019-12-12 11:26:47 +05:30
committed by kannappanr
parent fa00a84709
commit e2c5d29017
2 changed files with 37 additions and 37 deletions

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,