File tree 4 files changed +496
-88
lines changed
4 files changed +496
-88
lines changed Original file line number Diff line number Diff line change @@ -175,8 +175,6 @@ linters-settings:
175
175
- name : modifies-value-receiver
176
176
- name : package-comments
177
177
- name : range
178
- - name : range-val-address
179
- - name : range-val-in-closure
180
178
- name : receiver-naming
181
179
- name : redefines-builtin-id
182
180
- name : string-of-int
@@ -199,6 +197,10 @@ linters-settings:
199
197
govet :
200
198
disable :
201
199
- loopclosure
200
+ gosec :
201
+ excludes :
202
+ # Implicit memory aliasing of items from a range statement (irrelevant as of Go v1.22)
203
+ - G601
202
204
203
205
issues :
204
206
# Rules listed here: https://github.com/securego/gosec#available-rules
@@ -238,7 +240,6 @@ linters:
238
240
- errname
239
241
- errorlint
240
242
- exhaustruct
241
- - exportloopref
242
243
- forcetypeassert
243
244
- gocritic
244
245
# gocyclo is may be useful in the future when we start caring
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import (
11
11
"tailscale.com/net/dns"
12
12
"tailscale.com/wgengine/router"
13
13
14
+ "github.com/google/uuid"
14
15
"github.com/tailscale/wireguard-go/tun"
15
16
16
17
"cdr.dev/slog"
@@ -23,6 +24,7 @@ import (
23
24
24
25
type Conn interface {
25
26
CurrentWorkspaceState () (tailnet.WorkspaceUpdate , error )
27
+ GetPeerDiagnostics (peerID uuid.UUID ) tailnet.PeerDiagnostics
26
28
Close () error
27
29
}
28
30
You can’t perform that action at this time.
0 commit comments