Skip to content

Use the standard context library #1247

Use the standard context library

Use the standard context library #1247

Triggered via pull request November 20, 2024 10:12
Status Failure
Total duration 1m 13s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
lint: main.go#L511
lostcancel: the cancel function returned by context.WithTimeout should be called, not discarded, to avoid a context leak (govet)
lint: pkg/subnet/etcd/registry_test.go#L108
lostcancel: the cancel function returned by context.WithCancel should be called, not discarded, to avoid a context leak (govet)
lint: pkg/subnet/etcd/subnet_test.go#L198
lostcancel: the cancel function returned by context.WithCancel should be called, not discarded, to avoid a context leak (govet)
lint: pkg/subnet/etcd/subnet_test.go#L265
lostcancel: the cancel function returned by context.WithCancel should be called, not discarded, to avoid a context leak (govet)
lint
issues found