Updated comment.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
This commit is contained in:
Peter Štibraný 2020-02-18 17:35:16 +01:00
parent baa6f60384
commit fe3fe5740e
1 changed files with 1 additions and 1 deletions

View File

@ -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{