Skip to content

Find, verify, and analyze leaked credentials

chore: fix function name in comment (#3616)

binchengquea94b0b5e0b6
diff --git a/pkg/handlers/apk.go b/pkg/handlers/apk.go
index 050c947b7..639ce3af3 100644
--- a/pkg/handlers/apk.go
+++ b/pkg/handlers/apk.go
@@ -57,7 +57,7 @@ type apkHandler struct {
*defaultHandler
}
-// newapkHandler creates an apkHandler.
+// newAPKHandler creates an apkHandler.
func newAPKHandler() *apkHandler {
return &apkHandler{
defaultHandler: newDefaultHandler(apkHandlerType),
diff --git a/pkg/sources/postman/postman_client.go b/pkg/sources/postman/postman_client.go
index 842ea35db..58c5612db 100644
--- a/pkg/sources/postman/postman_client.go
+++ b/pkg/sources/postman/postman_client.go
@@ -234,7 +234,7 @@ func (c *Client) NewRequest(urlStr string, headers map[string]string) (*http.Req
return req, nil
}
-// checkResponse checks the API response for errors and returns them if present.
+// checkResponseStatus checks the API response for errors and returns them if present.
// A Response is considered an error if it has a status code outside the 2XX range.
func checkResponseStatus(r *http.Response) error {
if c := r.StatusCode; 200 <= c && c <= 299 {