mirror of
https://github.com/coder/coder.git
synced 2025-03-14 10:09:57 +00:00
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:
@ -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() {
|
||||
|
@ -186,6 +186,7 @@ func (s *speaker[S, R, _]) recvFromSerdes() {
|
||||
}
|
||||
}
|
||||
|
||||
// Close closes the speaker
|
||||
// nolint: revive
|
||||
func (s *speaker[_, _, _]) Close() error {
|
||||
s.cancel()
|
||||
|
Reference in New Issue
Block a user