From ab11a457e8d7154c340236f156f16eba6f02e0c8 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Thu, 7 Dec 2017 23:01:13 +0800 Subject: [PATCH] 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. --- web/api/v1/api.go | 1 - 1 file changed, 1 deletion(-) diff --git a/web/api/v1/api.go b/web/api/v1/api.go index 28d0681b6..0df2ca9fe 100644 --- a/web/api/v1/api.go +++ b/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}