Skip to content

Commit 543a7ea

Browse files
committed
pkg/bindings/containers: rm unused break
Reported by staticcheck linter: > pkg/bindings/containers/term_windows.go:51:5: SA4011: ineffective break statement. Did you mean to break out of the outer loop? (staticcheck) > break > ^ Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 5f997a7 commit 543a7ea

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/bindings/containers/term_windows.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ func notifyWinChange(ctx context.Context, winChange chan os.Signal, stdin *os.Fi
4848
case <-ctx.Done():
4949
return
5050
case <-timer.C:
51-
break
5251
}
5352

5453
w, h, err := term.GetSize(int(stdout.Fd()))

0 commit comments

Comments
 (0)