Skip to content

Commit d3ce4b2

Browse files
committed
force some debug log
1 parent 7d71429 commit d3ce4b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/thirdparty/google_token_source/builder.go

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"fmt"
66
"net/http"
77

8+
"github.com/davecgh/go-spew/spew"
89
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
910
"golang.org/x/oauth2"
1011
admin_directory "google.golang.org/api/admin/directory/v1"
@@ -42,6 +43,8 @@ func (g Builder) impersonateTokenSource(ctx context.Context, delegate bool, scop
4243
impersonateConfig.Subject = g.subjectEmail
4344
}
4445

46+
spew.Dump(impersonateConfig)
47+
4548
return impersonate.CredentialsTokenSource(ctx, impersonateConfig, option.WithHTTPClient(
4649
&http.Client{Transport: otelhttp.NewTransport(http.DefaultTransport)},
4750
))

0 commit comments

Comments
 (0)