Updated comment.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
pull/6840/head
Peter Štibraný 6 years ago
parent baa6f60384
commit fe3fe5740e
  1. 2
      util/httputil/context.go

@ -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…
Cancel
Save