Skip to content

Use the standard context library #1248

Use the standard context library

Use the standard context library #1248

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

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
lint: main.go#L510
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