blob: 8e86c8c0414ffd6274e415af5ee6713cd98b7958 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.
//go:build !retrynotrace
package retry
import (
"context"
t "golang.org/x/net/trace"
)
func traceFromCtx(ctx context.Context) (t.Trace, bool) {
return t.FromContext(ctx)
}
|