Skip to content

Implement connection pool health probes and fix discovery tests #44

Implement connection pool health probes and fix discovery tests

Implement connection pool health probes and fix discovery tests #44

Triggered via push January 28, 2026 00:19
Status Failure
Total duration 53s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: opensearchtransport/connection_internal_test.go#L46
"GET" can be replaced by http.MethodGet (usestdlibvars)
Lint: opensearchtransport/connection_internal_test.go#L44
func (*mockTransport).RoundTrip is unused (unused)
Lint: opensearchtransport/connection_internal_test.go#L42
type mockTransport is unused (unused)
Lint: signer/aws/aws_test.go#L23
SA1019: "github.com/aws/aws-sdk-go/aws/session" is deprecated: aws-sdk-go is deprecated. Use aws-sdk-go-v2. See https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-go-v1-on-july-31-2025/. (staticcheck)
Lint: signer/aws/aws_test.go#L22
SA1019: "github.com/aws/aws-sdk-go/aws/credentials" is deprecated: aws-sdk-go is deprecated. Use aws-sdk-go-v2. See https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-go-v1-on-july-31-2025/. (staticcheck)
Lint: signer/aws/aws_test.go#L21
SA1019: "github.com/aws/aws-sdk-go/aws" is deprecated: aws-sdk-go is deprecated. Use aws-sdk-go-v2. See https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-go-v1-on-july-31-2025/. (staticcheck)
Lint: signer/aws/aws.go#L24
SA1019: "github.com/aws/aws-sdk-go/aws/signer/v4" is deprecated: aws-sdk-go is deprecated. Use aws-sdk-go-v2. See https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-go-v1-on-july-31-2025/. (staticcheck)
Lint: signer/aws/aws.go#L23
SA1019: "github.com/aws/aws-sdk-go/aws/session" is deprecated: aws-sdk-go is deprecated. Use aws-sdk-go-v2. See https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-go-v1-on-july-31-2025/. (staticcheck)
Lint: opensearchtransport/connection.go#L353
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
Lint: opensearchtransport/opensearchtransport.go#L59
File is not properly formatted (gci)