mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
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:
@@ -1090,6 +1090,7 @@ func (a adminAPIHandlers) AccountInfoHandler(w http.ResponseWriter, r *http.Requ
|
||||
|
||||
acctInfo := madmin.AccountInfo{
|
||||
AccountName: accountName,
|
||||
Server: objectAPI.BackendInfo(),
|
||||
Policy: buf,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user