send backendInfo as part AccountInfo (#12733)

This is needed for console UI to change
the UI behavior for different modes of
operation.
This commit is contained in:
Harshavardhana
2021-07-16 14:37:06 -07:00
committed by GitHub
parent 29eea52e14
commit b13bca85d0
3 changed files with 4 additions and 3 deletions

View File

@@ -1090,6 +1090,7 @@ func (a adminAPIHandlers) AccountInfoHandler(w http.ResponseWriter, r *http.Requ
acctInfo := madmin.AccountInfo{
AccountName: accountName,
Server: objectAPI.BackendInfo(),
Policy: buf,
}