Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
fix golangci-lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal committed Mar 20, 2024
1 parent 5541ef8 commit bbdea59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/google_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ func TestGetSCCHealthStatus(t *testing.T) {
w.Header().Set("Content-Length", "1")
}))
defer badResponseServer.Close()
serverStatusUnauthorized := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
serverStatusUnauthorized := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
w.WriteHeader(http.StatusUnauthorized)
}))
defer serverStatusUnauthorized.Close()
serverStatusNotFound := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
serverStatusNotFound := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
w.WriteHeader(http.StatusNotFound)
}))
defer serverStatusNotFound.Close()
Expand Down

0 comments on commit bbdea59

Please sign in to comment.