mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Don't end non-owned span
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
parent
e1e64f36c2
commit
d1c7983f22
|
@ -152,7 +152,6 @@ func (p *postingsForMatcherPromise) result(ctx context.Context) (index.Postings,
|
|||
|
||||
func (c *PostingsForMatchersCache) postingsForMatchersPromise(ctx context.Context, ix IndexPostingsReader, ms []*labels.Matcher) func(context.Context) (index.Postings, error) {
|
||||
span := trace.SpanFromContext(ctx)
|
||||
defer span.End()
|
||||
|
||||
promise := &postingsForMatcherPromise{
|
||||
done: make(chan struct{}),
|
||||
|
|
Loading…
Reference in a new issue