Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3565227

Browse files
authored
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
1 parent 7da231b commit 3565227

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

vpn/serdes.go

+4
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,16 @@ func (s *serdes[_, _, _]) closeIdempotent() {
103103
})
104104
}
105105

106+
// Close closes the serdes
107+
// nolint: revive
106108
func (s *serdes[_, _, _]) Close() error {
107109
s.closeIdempotent()
108110
s.wg.Wait()
109111
return nil
110112
}
111113

114+
// start starts the goroutines that serialize and deserialize to the conn.
115+
// nolint: revive
112116
func (s *serdes[_, _, _]) start() {
113117
s.wg.Add(2)
114118
go func() {

vpn/speaker.go

+1
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ func (s *speaker[S, R, _]) recvFromSerdes() {
186186
}
187187
}
188188

189+
// Close closes the speaker
189190
// nolint: revive
190191
func (s *speaker[_, _, _]) Close() error {
191192
s.cancel()

0 commit comments

Comments
 (0)