update: user-agent

main
git 2024-12-28 22:08:17 +08:00
parent bbedddb609
commit d7a0e82797
Signed by: git
GPG Key ID: 3F65EFFA44207ADD
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ func (t *curlLogTransport) RoundTrip(req *http.Request) (*http.Response, error)
return resp, nil return resp, nil
} }
func (t *curlLogTransport) transport(req *http.Request) http.RoundTripper { //nolint:unparam func (t *curlLogTransport) transport(_ *http.Request) http.RoundTripper { //nolint:unparam
if t.Transport != nil { if t.Transport != nil {
return t.Transport return t.Transport
} }