Remove obsolete TODO in API code
In https://github.com/prometheus/prometheus/pull/3230/files, contexts were added to the Querier() method instead, and Cortex is fine with that.
This commit is contained in:
parent
330735aca6
commit
ab11a457e8
|
@ -320,7 +320,6 @@ func (api *API) labelValues(r *http.Request) (interface{}, *apiError) {
|
|||
}
|
||||
defer q.Close()
|
||||
|
||||
// TODO(fabxc): add back request context.
|
||||
vals, err := q.LabelValues(name)
|
||||
if err != nil {
|
||||
return nil, &apiError{errorExec, err}
|
||||
|
|
Loading…
Reference in New Issue