Updated comment.
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
This commit is contained in:
parent
baa6f60384
commit
fe3fe5740e
|
@ -31,7 +31,7 @@ func ContextWithPath(ctx context.Context, path string) context.Context {
|
|||
return context.WithValue(ctx, pathParam, path)
|
||||
}
|
||||
|
||||
// ContextFromRequest returns a new context from a requests with identifiers of
|
||||
// ContextFromRequest returns a new context with identifiers of
|
||||
// the request to be used later when logging the query.
|
||||
func ContextFromRequest(ctx context.Context, r *http.Request) context.Context {
|
||||
reqCtxVal := map[string]string{
|
||||
|
|
Loading…
Reference in New Issue