style: happy linting
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Marvin Preuss 2023-02-24 09:21:52 +00:00
parent d5b5c131e7
commit 1d7e0dc701

View File

@ -4,6 +4,7 @@ import (
"bytes" "bytes"
"context" "context"
"encoding/json" "encoding/json"
"fmt"
"net/http" "net/http"
"net/http/httptest" "net/http/httptest"
"strings" "strings"
@ -135,7 +136,7 @@ func TestRequestIDHandler(t *testing.T) {
err := json.Unmarshal([]byte(l), &out) err := json.Unmarshal([]byte(l), &out)
if err != nil { if err != nil {
return "", err return "", fmt.Errorf("failed to unmarshal log: %w", err)
} }
return out.UUID, nil return out.UUID, nil