diff options
author | Adin Scannell <ascannell@google.com> | 2020-03-25 17:20:16 -0700 |
---|---|---|
committer | Adin Scannell <ascannell@google.com> | 2020-04-08 10:14:34 -0700 |
commit | 867eeb18d8c65019fb755194d5bdf768837f07a8 (patch) | |
tree | ad655bb09e51c27f29b169e422a69458a9ae1044 /tools | |
parent | f888b9ce83c202bb77c1e29c3ee60cc485906536 (diff) |
Remove lostcancel warnings.
Updates #2243
Diffstat (limited to 'tools')
-rw-r--r-- | tools/nogo.json | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/nogo.json b/tools/nogo.json index 09bda9212..85fac8604 100644 --- a/tools/nogo.json +++ b/tools/nogo.json @@ -9,14 +9,6 @@ "/external/": "allowed: not subject to unsafe naming rules" } }, - "lostcancel": { - "exclude_files": { - "/pkg/tcpip/network/arp/arp_test.go": "fix: the cancel function returned by context.WithTimeout should be called, not discarded, to avoid a context leak", - "/pkg/tcpip/stack/ndp_test.go": "fix: the cancel function returned by context.WithTimeout should be called, not discarded, to avoid a context leak", - "/pkg/tcpip/transport/udp/udp_test.go": "fix: the cancel function returned by context.WithTimeout should be called, not discarded, to avoid a context leak", - "/pkg/tcpip/transport/tcp/testing/context/context.go": "fix: the cancel function returned by context.WithTimeout should be called, not discarded, to avoid a context leak" - } - }, "nilness": { "exclude_files": { "/com_github_vishvananda_netlink/route_linux.go": "allowed: false positive", |