mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: remove unnecessary redeclarations in for loops (#18440)
This commit is contained in:
@@ -257,7 +257,6 @@ func TestServerTailnet_ReverseProxy(t *testing.T) {
|
||||
port := ":4444"
|
||||
|
||||
for i, ag := range agents {
|
||||
i := i
|
||||
ln, err := ag.TailnetConn().Listen("tcp", port)
|
||||
require.NoError(t, err)
|
||||
wln := &wrappedListener{Listener: ln}
|
||||
|
||||
Reference in New Issue
Block a user