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

Commit802b2cc

Browse files
committed
Remove unused fn
🤦
1 parent57f464a commit802b2cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎agent/reconnectingpty/reconnectingpty.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func (s *ptyState) waitForState(state State) (State, error) {
168168

169169
// waitForStateOrContext blocks until the state or a greater one is reached or
170170
// the provided context ends.
171-
func (s*ptyState)waitForStateOrContext(ctx context.Context,stateState,fnfunc(stateState)error) (State,error) {
171+
func (s*ptyState)waitForStateOrContext(ctx context.Context,stateState) (State,error) {
172172
s.cond.L.Lock()
173173
defers.cond.L.Unlock()
174174
returns.waitForStateOrContextLocked(ctx,state)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp