From d7a0e827972fbef76e169aabaccee144b7689587 Mon Sep 17 00:00:00 2001 From: joelei Date: Sat, 28 Dec 2024 22:08:17 +0800 Subject: [PATCH] update: user-agent --- http/restyclient/transport.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/restyclient/transport.go b/http/restyclient/transport.go index 6d54a11..a34de95 100644 --- a/http/restyclient/transport.go +++ b/http/restyclient/transport.go @@ -149,7 +149,7 @@ func (t *curlLogTransport) RoundTrip(req *http.Request) (*http.Response, error) 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 { return t.Transport }