Fix lint errors

Signed-off-by: Wahab Ali <wahabalimk@gmail.com>
pull/9318/head
Wahab Ali 7 months ago
parent 3ca2558f04
commit e7895245f0
No known key found for this signature in database
GPG Key ID: 3BC2FF28FF4FB28F

@ -370,7 +370,7 @@ func TestDownloadTLSWithRedirect(t *testing.T) {
t.Fatal(errors.Wrap(err, "can't create TLS config for client"))
}
tlsSrv2 := httptest.NewUnstartedServer(http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {
tlsSrv2 := httptest.NewUnstartedServer(http.HandlerFunc(func(rw http.ResponseWriter, _ *http.Request) {
rw.Header().Set("Content-Type", "text/plain")
rw.Write([]byte(srv2Resp))
}))

Loading…
Cancel
Save