Skip to content

Commit cb201fd

Browse files
committed
fix linter
1 parent ab84610 commit cb201fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/ghmcp/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ func checkSubdomainIsolation(scheme, hostname string) bool {
408408
client := &http.Client{
409409
Timeout: 5 * time.Second,
410410
// Don't follow redirects - we just want to check if the endpoint exists
411+
//nolint:revive // parameters are required by http.Client.CheckRedirect signature
411412
CheckRedirect: func(req *http.Request, via []*http.Request) error {
412413
return http.ErrUseLastResponse
413414
},

0 commit comments

Comments
 (0)