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:
Julius Volz 2017-12-07 23:01:13 +08:00
parent 330735aca6
commit ab11a457e8
1 changed files with 0 additions and 1 deletions

View File

@ -320,7 +320,6 @@ func (api *API) labelValues(r *http.Request) (interface{}, *apiError) {
} }
defer q.Close() defer q.Close()
// TODO(fabxc): add back request context.
vals, err := q.LabelValues(name) vals, err := q.LabelValues(name)
if err != nil { if err != nil {
return nil, &apiError{errorExec, err} return nil, &apiError{errorExec, err}