feat: Update golangci-lint version to 1.62.0 and go version to 1.23
Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
This commit is contained in:
parent
1051995ad6
commit
3a378c7b38
9 changed files with 22 additions and 27 deletions
|
|
@ -381,7 +381,7 @@ func TestReadCredentials(t *testing.T) {
|
|||
t.Fatalf("Failed to marshal mocked response: %v", err)
|
||||
}
|
||||
|
||||
handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
handler := http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
if tt.getCredentialsFails {
|
||||
w.WriteHeader(http.StatusBadGateway)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue