diff --git a/cmd/admin-handlers.go b/cmd/admin-handlers.go index 9af71cb47..9ab620e71 100644 --- a/cmd/admin-handlers.go +++ b/cmd/admin-handlers.go @@ -3059,7 +3059,7 @@ func targetStatus(ctx context.Context, h logger.Target) madmin.Status { return madmin.Status{Status: string(madmin.ItemOffline)} } -// fetchLoggerDetails return log info +// fetchLoggerInfo return log info func fetchLoggerInfo(ctx context.Context) ([]madmin.Logger, []madmin.Audit) { var loggerInfo []madmin.Logger var auditloggerInfo []madmin.Audit diff --git a/cmd/api-errors.go b/cmd/api-errors.go index 01410ef36..1c5ec4c30 100644 --- a/cmd/api-errors.go +++ b/cmd/api-errors.go @@ -2592,7 +2592,7 @@ func getAPIError(code APIErrorCode) APIError { 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 func getAPIErrorResponse(ctx context.Context, err APIError, resource, requestID, hostID string) APIErrorResponse { reqInfo := logger.GetReqInfo(ctx) diff --git a/cmd/batch-handlers.go b/cmd/batch-handlers.go index d8dcb27b3..bcb78f2b3 100644 --- a/cmd/batch-handlers.go +++ b/cmd/batch-handlers.go @@ -1705,7 +1705,7 @@ func (a adminAPIHandlers) DescribeBatchJob(w http.ResponseWriter, r *http.Reques 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) { ctx := r.Context()