mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-22 14:04:53 -04:00
chore: fix unused parameter lint in new golangcilint version
This commit is contained in:
parent
68fc2b0811
commit
65903459a0
35 changed files with 92 additions and 92 deletions
|
@ -138,7 +138,7 @@ func TestUpdate(t *testing.T) {
|
|||
// create tls config and start the server
|
||||
serverConfig, err := atls.CreateAttestationServerTLSConfig(nil, []atls.Validator{validator})
|
||||
require.NoError(err)
|
||||
server := httptest.NewUnstartedServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
server := httptest.NewUnstartedServer(http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
|
||||
_, _ = io.WriteString(w, "hello")
|
||||
}))
|
||||
server.TLS = serverConfig
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue