Browse Source

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.
pull/3556/head
Julius Volz 7 years ago
parent
commit
ab11a457e8
  1. 1
      web/api/v1/api.go

1
web/api/v1/api.go

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