mirror of
https://github.com/minio/minio.git
synced 2025-03-31 01:33:41 -04:00
chore: fix some function names (#20243)
Signed-off-by: rubyisrust <rustrover@icloud.com>
This commit is contained in:
parent
acdb355070
commit
516af01a12
@ -3059,7 +3059,7 @@ func targetStatus(ctx context.Context, h logger.Target) madmin.Status {
|
|||||||
return madmin.Status{Status: string(madmin.ItemOffline)}
|
return madmin.Status{Status: string(madmin.ItemOffline)}
|
||||||
}
|
}
|
||||||
|
|
||||||
// fetchLoggerDetails return log info
|
// fetchLoggerInfo return log info
|
||||||
func fetchLoggerInfo(ctx context.Context) ([]madmin.Logger, []madmin.Audit) {
|
func fetchLoggerInfo(ctx context.Context) ([]madmin.Logger, []madmin.Audit) {
|
||||||
var loggerInfo []madmin.Logger
|
var loggerInfo []madmin.Logger
|
||||||
var auditloggerInfo []madmin.Audit
|
var auditloggerInfo []madmin.Audit
|
||||||
|
@ -2592,7 +2592,7 @@ func getAPIError(code APIErrorCode) APIError {
|
|||||||
return errorCodes.ToAPIErr(ErrInternalError)
|
return errorCodes.ToAPIErr(ErrInternalError)
|
||||||
}
|
}
|
||||||
|
|
||||||
// getErrorResponse gets in standard error and resource value and
|
// getAPIErrorResponse gets in standard error and resource value and
|
||||||
// provides a encodable populated response values
|
// provides a encodable populated response values
|
||||||
func getAPIErrorResponse(ctx context.Context, err APIError, resource, requestID, hostID string) APIErrorResponse {
|
func getAPIErrorResponse(ctx context.Context, err APIError, resource, requestID, hostID string) APIErrorResponse {
|
||||||
reqInfo := logger.GetReqInfo(ctx)
|
reqInfo := logger.GetReqInfo(ctx)
|
||||||
|
@ -1705,7 +1705,7 @@ func (a adminAPIHandlers) DescribeBatchJob(w http.ResponseWriter, r *http.Reques
|
|||||||
w.Write(buf)
|
w.Write(buf)
|
||||||
}
|
}
|
||||||
|
|
||||||
// StarBatchJob queue a new job for execution
|
// StartBatchJob queue a new job for execution
|
||||||
func (a adminAPIHandlers) StartBatchJob(w http.ResponseWriter, r *http.Request) {
|
func (a adminAPIHandlers) StartBatchJob(w http.ResponseWriter, r *http.Request) {
|
||||||
ctx := r.Context()
|
ctx := r.Context()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user