Skip to content

Commit ea94b0b

Browse files
author
binchengqu
authored
chore: fix function name in comment (#3616)
Signed-off-by: binchengqu <[email protected]>
1 parent f89e1b9 commit ea94b0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/handlers/apk.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ type apkHandler struct {
5757
*defaultHandler
5858
}
5959

60-
// newapkHandler creates an apkHandler.
60+
// newAPKHandler creates an apkHandler.
6161
func newAPKHandler() *apkHandler {
6262
return &apkHandler{
6363
defaultHandler: newDefaultHandler(apkHandlerType),

pkg/sources/postman/postman_client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ func (c *Client) NewRequest(urlStr string, headers map[string]string) (*http.Req
234234
return req, nil
235235
}
236236

237-
// checkResponse checks the API response for errors and returns them if present.
237+
// checkResponseStatus checks the API response for errors and returns them if present.
238238
// A Response is considered an error if it has a status code outside the 2XX range.
239239
func checkResponseStatus(r *http.Response) error {
240240
if c := r.StatusCode; 200 <= c && c <= 299 {

0 commit comments

Comments
 (0)