From 569d35458fdfaa26eee1ffa13d4a919e419b726a Mon Sep 17 00:00:00 2001 From: Lukasz Gut Date: Tue, 11 Jul 2023 09:59:33 +0200 Subject: [PATCH] output/cloudv2: Fix insights client initialization --- output/cloud/expv2/output.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/output/cloud/expv2/output.go b/output/cloud/expv2/output.go index 21041a67f6b..0bc3423c87a 100644 --- a/output/cloud/expv2/output.go +++ b/output/cloud/expv2/output.go @@ -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{