refactor: p2p Message logs have log level TRACE #56
static-analysis.yml
on: pull_request
Static check
13s
Golangci-lint
13s
Annotations
18 errors and 1 warning
Static check:
peer.go#L271
do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (SA1012)
|
Static check:
peer.go#L654
do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (SA1012)
|
Static check:
peer.go#L666
do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (SA1012)
|
Static check:
peer.go#L749
do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (SA1012)
|
Static check:
peer.go#L751
do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (SA1012)
|
Static check:
peer.go#L753
do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (SA1012)
|
Static check:
peer.go#L755
do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (SA1012)
|
Static check:
peer.go#L757
do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (SA1012)
|
Static check
Process completed with exit code 1.
|
Golangci-lint:
peer.go#L271
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
|
Golangci-lint:
peer.go#L654
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
|
Golangci-lint:
peer.go#L666
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
|
Golangci-lint:
peer.go#L749
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
|
Golangci-lint:
peer.go#L751
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
|
Golangci-lint:
peer.go#L753
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
|
Golangci-lint:
peer.go#L755
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
|
Golangci-lint:
peer.go#L757
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
|
Golangci-lint
issues found
|
Golangci-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|