chore: fix some function names (#20243)

Signed-off-by: rubyisrust <rustrover@icloud.com>
This commit is contained in:
rubyisrust
2024-08-14 02:23:33 +08:00
committed by GitHub
parent acdb355070
commit 516af01a12
3 changed files with 3 additions and 3 deletions

View File

@@ -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)