mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
httpclient: Add OTel tracing automatically when needed (#2772)
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
This commit is contained in:
@@ -75,7 +75,7 @@ func TestNew_userAgent(t *testing.T) {
|
||||
} {
|
||||
t.Run(fmt.Sprintf("%d %s", i, c.expected), func(t *testing.T) {
|
||||
actualUserAgent = ""
|
||||
cli := New()
|
||||
cli := New(t.Context())
|
||||
err := c.request(cli)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user