chore: fix unused parameter lint in new golangcilint version

This commit is contained in:
Malte Poll 2024-02-21 13:30:31 +01:00
parent 68fc2b0811
commit 65903459a0
35 changed files with 92 additions and 92 deletions

View file

@ -185,7 +185,7 @@ func TestIMDSClient(t *testing.T) {
wantTags: defaultWantTags,
},
"invalid imds response detected": {
server: newHTTPBufconnServer(func(writer http.ResponseWriter, request *http.Request) {
server: newHTTPBufconnServer(func(writer http.ResponseWriter, _ *http.Request) {
fmt.Fprintln(writer, "invalid-result")
}),
wantProviderIDErr: true,