Skip to content

Commit 978de9a

Browse files
code-asherEmyrk
andauthored
Comment ChannelAccepterWatcher
Co-authored-by: Steven Masley <[email protected]>
1 parent c5c0e0e commit 978de9a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

agent/agentssh/jetbrainstrack.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ type localForwardChannelData struct {
1919
OriginPort uint32
2020
}
2121

22+
// ChannelAcceptWatcher is used to track jetbrains port forwarding (gateway)
23+
// connections. If the port forward is something other than jetbrains, this
24+
// struct is a noop.
2225
type ChannelAcceptWatcher struct {
2326
gossh.NewChannel
2427
jetbrainsCounter *atomic.Int64

0 commit comments

Comments
 (0)