Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3565227

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 parent7da231b commit3565227

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

‎vpn/serdes.go

Lines changed: 4 additions & 0 deletions
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
returnnil
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
gofunc() {

‎vpn/speaker.go

Lines changed: 1 addition & 0 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp