Skip to content

Commit

Permalink
output/cloudv2: Fix insights client initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Blinkuu authored and codebien committed Jul 11, 2023
1 parent c66c1be commit 569d354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions output/cloud/expv2/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ func (o *Output) Start() error {
o.requestMetadatasCollector = newRequestMetadatasCollector(testRunID)

insightsClientConfig := insights.ClientConfig{
IngesterHost: o.config.TracesHost.ValueOrZero(),
IngesterHost: o.config.TracesHost.String,
Timeout: types.NewNullDuration(90*time.Second, false),
AuthConfig: insights.ClientAuthConfig{
Enabled: true,
TestRunID: testRunID,
Token: o.config.Token.ValueOrZero(),
Token: o.config.Token.String,
RequireTransportSecurity: true,
},
TLSConfig: insights.ClientTLSConfig{
Expand Down

0 comments on commit 569d354

Please sign in to comment.