Use the standard context library #1248
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
|