mirror of
https://github.com/minio/minio.git
synced 2026-02-12 13:50:15 -05:00
Remove unusued params and functions (#8399)
This commit is contained in:
@@ -143,13 +143,3 @@ var stsErrCodes = stsErrorCodeMap{
|
||||
HTTPStatusCode: http.StatusInternalServerError,
|
||||
},
|
||||
}
|
||||
|
||||
// getSTSErrorResponse gets in standard error and
|
||||
// provides a encodable populated response values
|
||||
func getSTSErrorResponse(err STSError, requestID string) STSErrorResponse {
|
||||
errRsp := STSErrorResponse{}
|
||||
errRsp.Error.Code = err.Code
|
||||
errRsp.Error.Message = err.Description
|
||||
errRsp.RequestID = requestID
|
||||
return errRsp
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user