fix: linting and go test
CD / deploy (push) Successful in 55s
CI / test (push) Successful in 1m32s
CI / docker (push) Successful in 2m51s
Release / release (push) Successful in 37s

This commit is contained in:
zwitschi committed 2026-08-10 09:30:29 +02:00
1 parent b427353672
commit f73928103a
4 files changed
+16 -3

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ func ObserveRequestDuration(duration time.Duration) {
func WrapRequestTiming(next http.HandlerFunc) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
startedAt := time.Now()
defer ObserveRequestDuration(time.Since(startedAt))
defer func() { ObserveRequestDuration(time.Since(startedAt)) }()
next(w, r)
}
}