update: user-agent
parent
bbedddb609
commit
d7a0e82797
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue