fix middleware chain

This commit is contained in:
A.Unger
2021-08-09 17:37:58 +02:00
parent ac087d0dae
commit 4a817959ef

View File

@@ -44,6 +44,8 @@ func Static(root string, fs http.FileSystem) func(http.Handler) http.Handler {
}
span.SetAttributes(attribute.KeyValue{Key: "path", Value: attribute.StringValue(r.URL.Path)})
span.SetStatus(codes.Ok, "ok")
next.ServeHTTP(w, r)
})
}
}