chore: disable erroneous linting of function names in vpn (#15055)

Disables bogus linting e.g. https://github.com/coder/coder/actions/runs/11305350065/job/31444754200?pr=15011
This commit is contained in:
Spike Curtis
2024-10-15 11:45:56 +04:00
committed by GitHub
parent 7da231bc92
commit 3565227d02
2 changed files with 5 additions and 0 deletions

View File

@ -103,12 +103,16 @@ func (s *serdes[_, _, _]) closeIdempotent() {
})
}
// Close closes the serdes
// nolint: revive
func (s *serdes[_, _, _]) Close() error {
s.closeIdempotent()
s.wg.Wait()
return nil
}
// start starts the goroutines that serialize and deserialize to the conn.
// nolint: revive
func (s *serdes[_, _, _]) start() {
s.wg.Add(2)
go func() {

View File

@ -186,6 +186,7 @@ func (s *speaker[S, R, _]) recvFromSerdes() {
}
}
// Close closes the speaker
// nolint: revive
func (s *speaker[_, _, _]) Close() error {
s.cancel()